Chromium Code Reviews| Index: sky/engine/core/rendering/RenderObject.cpp |
| diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp |
| index ea5bb1fac69ff40a524af8a9b73250cebc1ac9a3..b9afa5dcbb1fa536ea830a6527740faea35f139a 100644 |
| --- a/sky/engine/core/rendering/RenderObject.cpp |
| +++ b/sky/engine/core/rendering/RenderObject.cpp |
| @@ -1680,10 +1680,6 @@ bool RenderObject::hitTest(const HitTestRequest& request, HitTestResult& result, |
| if (hitTestFilter != HitTestSelf) { |
| // First test the foreground layer (lines and inlines). |
| inside = nodeAtPoint(request, result, locationInContainer, accumulatedOffset, HitTestForeground); |
| - |
| - // Finally test to see if the mouse is in the background (within a child block's background). |
| - if (!inside) |
| - inside = nodeAtPoint(request, result, locationInContainer, accumulatedOffset, HitTestChildBlockBackgrounds); |
|
ojan
2015/02/14 03:25:49
If the hitTest is in a child block's background it
|
| } |
| // See if the mouse is inside us but not any of our descendants |