Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Unified Diff: Source/core/layout/LayoutView.cpp

Issue 1032823003: Refactor HitTestResult to store the HitTestRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutView.h ('k') | Source/core/layout/line/EllipsisBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutView.cpp
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
index a98fbd73379d0047e1ba0dd9c6e9dcc75cb6b940..e2ddc88fb6be518765ef4d0b644d9cc37a25eaf2 100644
--- a/Source/core/layout/LayoutView.cpp
+++ b/Source/core/layout/LayoutView.cpp
@@ -78,9 +78,9 @@ LayoutView::~LayoutView()
{
}
-bool LayoutView::hitTest(const HitTestRequest& request, HitTestResult& result)
+bool LayoutView::hitTest(HitTestResult& result)
{
- return hitTest(request, result.hitTestLocation(), result);
+ return hitTest(result.hitTestRequest(), result.hitTestLocation(), result);
}
bool LayoutView::hitTest(const HitTestRequest& request, const HitTestLocation& location, HitTestResult& result)
« no previous file with comments | « Source/core/layout/LayoutView.h ('k') | Source/core/layout/line/EllipsisBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698