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

Unified Diff: Source/core/page/EventHandler.cpp

Issue 759073002: Add canScroll bit to WebMouseWheelEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index 6a38d592d4f6f3e0f6b880098b3d28ac8645f52c..a60edf238da7a23f981fc62823e51ea314077dbd 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -915,7 +915,7 @@ bool EventHandler::scroll(ScrollDirection direction, ScrollGranularity granulari
RenderBox* curBox = node->renderer()->enclosingBox();
while (curBox && (rootLayerScrolls || !curBox->isRenderView())) {
ScrollDirection physicalDirection = toPhysicalDirection(
- direction, curBox->isHorizontalWritingMode(), curBox->style()->slowIsFlippedBlocksWritingMode());
+ direction, curBox->isHorizontalWritingMode(), curBox->style()->isFlippedBlocksWritingMode());
Rick Byers 2014/11/27 15:55:14 What is this change?
lanwei 2014/12/02 06:28:22 I do not know, I did not make this change. I guess
// If we're at the stopNode, we should try to scroll it but we shouldn't bubble past it
bool shouldStopBubbling = stopNode && *stopNode && curBox->node() == *stopNode;

Powered by Google App Engine
This is Rietveld 408576698