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

Unified Diff: Source/core/platform/ScrollableArea.h

Issue 14863002: Only update composited-scrolling state once after layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Optimized. Created 7 years, 8 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: Source/core/platform/ScrollableArea.h
diff --git a/Source/core/platform/ScrollableArea.h b/Source/core/platform/ScrollableArea.h
index a581a81b338f32d3b7c75ea616ee88229b415c26..c668ee0bbb06e25325c2e26fd477faf29e7f8258 100644
--- a/Source/core/platform/ScrollableArea.h
+++ b/Source/core/platform/ScrollableArea.h
@@ -172,6 +172,7 @@ public:
void serviceScrollAnimations();
virtual bool usesCompositedScrolling() const { return false; }
+ virtual void updateNeedsCompositedScrolling() { }
virtual void reportMemoryUsage(MemoryObjectInfo*) const;

Powered by Google App Engine
This is Rietveld 408576698