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

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

Issue 2839183002: Refactor scroll updates after layout. (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 16f625873668c322d216058212ebb91e6e3d0ab5..d00f1a585c8850301399534e78999af44a71eacb 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -855,6 +855,11 @@ void PaintLayer::UpdateLayerPosition() {
#endif
}
+void PaintLayer::UpdateScrollingAfterLayout() {
+ if (GetLayoutObject().HasOverflowClip())
+ scrollable_area_->UpdateAfterLayout();
+}
+
TransformationMatrix PaintLayer::PerspectiveTransform() const {
if (!GetLayoutObject().HasTransformRelatedProperty())
return TransformationMatrix();
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698