Remove debugging code in PDFiumEngine::SelectFindResult()
The bug has been fixed, so the debugging code is no longer useful. Bug: 1108574 Change-Id: I4bad37ebd51d6429d3143335715200d1a3685acc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4604681 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Andy Phan <andyphan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1156448}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
cea1095fed
commit
51f3659e2a
@ -19,7 +19,6 @@
|
||||
#include "base/check_op.h"
|
||||
#include "base/containers/contains.h"
|
||||
#include "base/containers/flat_map.h"
|
||||
#include "base/debug/alias.h"
|
||||
#include "base/feature_list.h"
|
||||
#include "base/functional/bind.h"
|
||||
#include "base/location.h"
|
||||
@ -2067,12 +2066,6 @@ bool PDFiumEngine::SelectFindResult(bool forward) {
|
||||
gfx::Rect bounding_rect;
|
||||
gfx::Rect visible_rect = GetVisibleRect();
|
||||
|
||||
// TODO(crbug.com/1108574): Remove after fixing the issue.
|
||||
size_t find_results_size = find_results_.size();
|
||||
base::debug::Alias(&find_results_size);
|
||||
size_t current_find_index_value = current_find_index_.value();
|
||||
base::debug::Alias(¤t_find_index_value);
|
||||
|
||||
// Use zoom of 1.0 since `visible_rect` is without zoom.
|
||||
const std::vector<gfx::Rect>& rects =
|
||||
find_results_[current_find_index_.value()].GetScreenRects(
|
||||
|
Reference in New Issue
Block a user