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

Unified Diff: sky/engine/core/rendering/RenderBox.cpp

Issue 1019723002: Fix hit-testing in the stocks apps when scrolled. (Closed) Base URL: https://github.com/domokit/mojo.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
« no previous file with comments | « no previous file | sky/tests/layout/clipping-elementFromPoint.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderBox.cpp
diff --git a/sky/engine/core/rendering/RenderBox.cpp b/sky/engine/core/rendering/RenderBox.cpp
index e732794aed7346e44d14ec73e8562ce8130490c2..c0ab2dc08236972ce6087cf7622169f9db579371 100644
--- a/sky/engine/core/rendering/RenderBox.cpp
+++ b/sky/engine/core/rendering/RenderBox.cpp
@@ -673,7 +673,7 @@ bool RenderBox::hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLayer
for (auto& currentLayer : layers) {
HitTestResult tempResult(result.hitTestLocation());
bool localHitLayer = currentLayer->hitTestLayer(rootLayer, layer(), request, tempResult,
- hitTestRect, hitTestLocation, localTransformState.get(), zOffsetForDescendantsPtr);
+ localHitTestRect, localHitTestLocation, localTransformState.get(), zOffsetForDescendantsPtr);
// If it a rect-based test, we can safely append the temporary result since it might had hit
// nodes but not necesserily had hitLayer set.
« no previous file with comments | « no previous file | sky/tests/layout/clipping-elementFromPoint.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698