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

Unified Diff: third_party/WebKit/Source/core/input/MouseEventManager.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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: 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))

Powered by Google App Engine
This is Rietveld 408576698