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

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: 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
Index: Source/core/layout/LayoutView.cpp
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
index 7f87c3f37ded9e2ceb5e6da05732c01b723063b2..956d498b3f6e9aded90c441285eaf4b3165b8415 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)

Powered by Google App Engine
This is Rietveld 408576698