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. |