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

Unified Diff: third_party/WebKit/Source/core/layout/HitTestResult.cpp

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)
Patch Set: Fix nits Created 3 years, 11 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: third_party/WebKit/Source/core/layout/HitTestResult.cpp
diff --git a/third_party/WebKit/Source/core/layout/HitTestResult.cpp b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
index 76f4cd952ed4d77e9d501491544fcd5d24d1f08d..b1b70ee934d3e4b36b10de0e9198e273e79c1510 100644
--- a/third_party/WebKit/Source/core/layout/HitTestResult.cpp
+++ b/third_party/WebKit/Source/core/layout/HitTestResult.cpp
@@ -92,7 +92,8 @@ HitTestResult::HitTestResult(const HitTestResult& other)
m_localPoint(other.localPoint()),
m_innerURLElement(other.URLElement()),
m_scrollbar(other.scrollbar()),
- m_isOverWidget(other.isOverWidget()) {
+ m_isOverWidget(other.isOverWidget()),
+ m_canvasRegionId(other.canvasRegionId()) {
// Only copy the NodeSet in case of list hit test.
m_listBasedTestResult = other.m_listBasedTestResult
? new NodeSet(*other.m_listBasedTestResult)
@@ -135,6 +136,7 @@ void HitTestResult::populateFromCachedResult(const HitTestResult& other) {
m_scrollbar = other.scrollbar();
m_isOverWidget = other.isOverWidget();
m_cacheable = other.m_cacheable;
+ m_canvasRegionId = other.canvasRegionId();
// Only copy the NodeSet in case of list hit test.
m_listBasedTestResult = other.m_listBasedTestResult
@@ -438,6 +440,7 @@ void HitTestResult::append(const HitTestResult& other) {
m_pointInInnerNodeFrame = other.m_pointInInnerNodeFrame;
m_innerURLElement = other.URLElement();
m_isOverWidget = other.isOverWidget();
+ m_canvasRegionId = other.canvasRegionId();
}
if (other.m_listBasedTestResult) {
« no previous file with comments | « third_party/WebKit/Source/core/layout/HitTestResult.h ('k') | third_party/WebKit/Source/core/layout/LayoutScrollbarTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698