 Chromium Code Reviews
 Chromium Code Reviews Issue 669803002:
  Optimize for horizontal writing mode  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 669803002:
  Optimize for horizontal writing mode  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: Source/core/page/EventHandler.cpp | 
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp | 
| index b3f8ac4a84d8b45acb39ffb94f57df6703673535..f7d9fdb5ad17cf77570a667739afbdc3a8bc63af 100644 | 
| --- a/Source/core/page/EventHandler.cpp | 
| +++ b/Source/core/page/EventHandler.cpp | 
| @@ -903,7 +903,7 @@ bool EventHandler::scroll(ScrollDirection direction, ScrollGranularity granulari | 
| RenderBox* curBox = node->renderer()->enclosingBox(); | 
| while (curBox && !curBox->isRenderView()) { | 
| ScrollDirection physicalDirection = toPhysicalDirection( | 
| - direction, curBox->isHorizontalWritingMode(), curBox->style()->isFlippedBlocksWritingMode()); | 
| + direction, curBox->isHorizontalWritingMode(), curBox->style()->slowIsFlippedBlocksWritingMode()); | 
| 
pdr.
2014/10/22 18:41:58
Nearly all of these should be able to use the fast
 
leviw_travelin_and_unemployed
2014/10/22 18:50:27
I'm fine with doing it in a follow-up as long as w
 | 
| // 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; |