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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2816873002: Update PaintLayer size during layout, not after.
Patch Set: Speculatively remove call to UpdateScrollbars() Created 3 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: third_party/WebKit/Source/core/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 83691b8b2a5b1467e59f4bee882dd28c06d63e57..8a9c6a15275d4b6d743713ff9e21c85fbb6d7ef3 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -287,8 +287,9 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
// invalidating paint.
void ContentChanged(ContentChangeType);
- void UpdateLayerPosition();
+ void UpdateSizeAndScrollingAfterLayout();
+ void UpdateLayerPosition();
void UpdateLayerPositionsAfterLayout();
void UpdateLayerPositionsAfterOverflowScroll();
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxPaintInvalidatorTest.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698