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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp

Issue 1771773002: Handle '<something>' to 'none' changes of 'transform' for SVG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/layout/svg/LayoutSVGBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp
index 27bd7ceb98e5c3624c497ee7edcdc5c46e09ced9..8d62fde000f73b86554ee87c19c1103e440517f3 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp
@@ -68,7 +68,7 @@ void LayoutSVGBlock::styleDidChange(StyleDifference diff, const ComputedStyle* o
{
if (diff.needsFullLayout()) {
setNeedsBoundariesUpdate();
- if (style()->hasTransform())
+ if (diff.transformChanged())
setNeedsTransformUpdate();
}

Powered by Google App Engine
This is Rietveld 408576698