Commit c9d6c403 authored by Yi Gu's avatar Yi Gu Committed by Commit Bot

[CodeHealth] Remove outdated comment in HitTestQuery

The drag and drop issue with Viz hit testing has been fixed in
crrev.com/c/1693442.

Bug: None
Change-Id: Ifbca617f1a0391dc6bd6465d0ee0de1c1aba3d5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761776Reviewed-by: default avatarkylechar <kylechar@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#688717}
parent 27a13dea
...@@ -231,8 +231,6 @@ bool HitTestQuery::FindTargetInRegionForLocation( ...@@ -231,8 +231,6 @@ bool HitTestQuery::FindTargetInRegionForLocation(
DCHECK_EQ(!!(flags & HitTestRegionFlags::kHitTestAsk), DCHECK_EQ(!!(flags & HitTestRegionFlags::kHitTestAsk),
!!hit_test_data_[region_index].async_hit_test_reasons); !!hit_test_data_[region_index].async_hit_test_reasons);
// TODO(sunxd): v2 doesn't work with drag-n-drop when it still relies on
// synchronous targeting result for nested OOPIF cases. crbug.com/896786
if (features::IsVizHitTestingSurfaceLayerEnabled() && if (features::IsVizHitTestingSurfaceLayerEnabled() &&
((flags & HitTestRegionFlags::kHitTestAsk) && ((flags & HitTestRegionFlags::kHitTestAsk) &&
!(flags & HitTestRegionFlags::kHitTestIgnore))) { !(flags & HitTestRegionFlags::kHitTestIgnore))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment