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

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

Issue 1890913005: Update widget geometries when transforming a layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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 | « no previous file | third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp » ('j') | 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 7b419ad9db642aef30b6c1ab0f5f27b70e2da17b..e034e0d4d69f38dc61dd368201386fd7cc6e67a0 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -420,6 +420,9 @@ void PaintLayer::updateTransform(const ComputedStyle* oldStyle, const ComputedSt
if (had3DTransform != has3DTransform())
dirty3DTransformedDescendantStatus();
+
+ if (FrameView* frameView = layoutObject()->document().view())
+ frameView->setNeedsUpdateWidgetGeometries();
}
static PaintLayer* enclosingLayerForContainingBlock(PaintLayer* layer)
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698