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

Unified Diff: Source/core/page/scrolling/ScrollingCoordinator.cpp

Issue 691863003: Add a setting to do frame scrolls through the root layer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/paint/BlockPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp
index e9399d34f535313dd488d4da0e5afbde25595391..ea8b7181550d035b4e28bc7d090d620cc626c9d2 100644
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -937,7 +937,8 @@ MainThreadScrollingReasons ScrollingCoordinator::mainThreadScrollingReasons() co
{
MainThreadScrollingReasons reasons = static_cast<MainThreadScrollingReasons>(0);
- if (!m_page->settings().threadedScrollingEnabled())
+ // FIXME: make threaded scrolling work correctly with rootLayerScrolls.
+ if (!m_page->settings().threadedScrollingEnabled() || m_page->settings().rootLayerScrolls())
reasons |= ThreadedScrollingDisabled;
if (!m_page->mainFrame()->isLocalFrame())
« no previous file with comments | « Source/core/page/EventHandler.cpp ('k') | Source/core/paint/BlockPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698