Index: third_party/WebKit/Source/core/input/MouseEventManager.cpp |
diff --git a/third_party/WebKit/Source/core/input/MouseEventManager.cpp b/third_party/WebKit/Source/core/input/MouseEventManager.cpp |
index 874a250f152686f06f4255b646683cf7f3f79962..14a970447d3773eda17bbf7f6364252a049f8673 100644 |
--- a/third_party/WebKit/Source/core/input/MouseEventManager.cpp |
+++ b/third_party/WebKit/Source/core/input/MouseEventManager.cpp |
@@ -338,9 +338,10 @@ void MouseEventManager::setNodeUnderMouse(Node* target, |
if (FrameView* frameView = frame->view()) |
frameView->mouseExitedContentArea(); |
} |
- } else if (page && (layerForLastNode && |
- (!layerForNodeUnderMouse || |
- layerForNodeUnderMouse != layerForLastNode))) { |
+ } else if (page && |
+ (layerForLastNode && |
+ (!layerForNodeUnderMouse || |
+ layerForNodeUnderMouse != layerForLastNode))) { |
// The mouse has moved between layers. |
if (ScrollableArea* scrollableAreaForLastNode = |
EventHandlingUtil::associatedScrollableArea(layerForLastNode)) |
@@ -355,9 +356,10 @@ void MouseEventManager::setNodeUnderMouse(Node* target, |
if (FrameView* frameView = frame->view()) |
frameView->mouseEnteredContentArea(); |
} |
- } else if (page && (layerForNodeUnderMouse && |
- (!layerForLastNode || |
- layerForNodeUnderMouse != layerForLastNode))) { |
+ } else if (page && |
+ (layerForNodeUnderMouse && |
+ (!layerForLastNode || |
+ layerForNodeUnderMouse != layerForLastNode))) { |
// The mouse has moved between layers. |
if (ScrollableArea* scrollableAreaForNodeUnderMouse = |
EventHandlingUtil::associatedScrollableArea(layerForNodeUnderMouse)) |