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

Unified Diff: Source/core/rendering/RenderBoxModelObject.cpp

Issue 17471008: Rework compositor touch hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Various fixes and test additions Created 7 years, 5 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/rendering/RenderBoxModelObject.cpp
diff --git a/Source/core/rendering/RenderBoxModelObject.cpp b/Source/core/rendering/RenderBoxModelObject.cpp
index 491343b86bab68ec11e4be88e43f22f747aec046..3b535642f9ca6dc883e6bc424f235bcd03a0da01 100644
--- a/Source/core/rendering/RenderBoxModelObject.cpp
+++ b/Source/core/rendering/RenderBoxModelObject.cpp
@@ -2554,6 +2554,16 @@ void RenderBoxModelObject::setContinuation(RenderBoxModelObject* continuation)
}
}
+void RenderBoxModelObject::computeLayerHitTestRects(LayerHitTestRects& rects) const
+{
+ RenderLayerModelObject::computeLayerHitTestRects(rects);
+
+ // If there is a continuation of this root node, then it won't otherwise
+ // be picked up by the tree walk, so we need to consult it here too.
+ if (continuation())
+ continuation()->computeLayerHitTestRects(rects);
+}
+
RenderObject* RenderBoxModelObject::firstLetterRemainingText() const
{
if (!firstLetterRemainingTextMap)

Powered by Google App Engine
This is Rietveld 408576698