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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 2918053002: Move middle-click autoscroll to synthetic fling. (Closed)
Patch Set: Clean up Created 3 years, 6 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/dom/Node.cpp
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
index 1cf63d4744e5ddefc9b6f3da5008f9488f45438f..8ac69ea28d5b32df21e0e563fb184de8ef3e06b6 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -2352,8 +2352,9 @@ void Node::DefaultEventHandler(Event* event) {
}
}
if (layout_object) {
- if (LocalFrame* frame = GetDocument().GetFrame())
+ if (LocalFrame* frame = GetDocument().GetFrame()) {
bokan 2017/06/15 17:40:12 Nit: no braces
aelias_OOO_until_Jul13 2017/06/15 22:19:54 Done.
frame->GetEventHandler().StartMiddleClickAutoscroll(layout_object);
+ }
}
}
} else if (event->type() == EventTypeNames::webkitEditableContentChanged) {

Powered by Google App Engine
This is Rietveld 408576698