summaryrefslogtreecommitdiff
path: root/chromium/components/viz/host/hit_test
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/viz/host/hit_test')
-rw-r--r--chromium/components/viz/host/hit_test/hit_test_query.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/components/viz/host/hit_test/hit_test_query.cc b/chromium/components/viz/host/hit_test/hit_test_query.cc
index 54cd565e50a..9ca5eba8860 100644
--- a/chromium/components/viz/host/hit_test/hit_test_query.cc
+++ b/chromium/components/viz/host/hit_test/hit_test_query.cc
@@ -4,6 +4,8 @@
#include "components/viz/host/hit_test/hit_test_query.h"
+#include <sstream>
+
#include "base/containers/stack.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_util.h"
@@ -224,8 +226,8 @@ bool HitTestQuery::FindTargetInRegionForLocation(
// hit test data, e.g. overlapped by ShelfApp on ChromeOS.
// The kHitTestAsk flag should be ignored in such a case because there is no
// need to do async hit testing on the root merely because it was overlapped.
- // TODO(yigu): Do not set the kHitTestAsk and kOverlappedRegion flags for
- // root when building hit test data.
+ // TODO(crbug.com/1001238): Do not set the kHitTestAsk and kOverlappedRegion
+ // flags for root when building hit test data.
bool root_view_overlapped =
hit_test_data_[region_index].frame_sink_id == root_view_frame_sink_id &&
hit_test_data_[region_index].async_hit_test_reasons ==