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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp ('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/layout/svg/LayoutSVGModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
index 6d5eef12feb307765a160b61318cb95afc83b519..243a47ac57576abfcae703a830d47875511ff8da 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
@@ -103,7 +103,7 @@ void LayoutSVGModelObject::styleDidChange(StyleDifference diff, const ComputedSt
{
if (diff.needsFullLayout()) {
setNeedsBoundariesUpdate();
- if (style()->hasTransform())
+ if (diff.transformChanged())
setNeedsTransformUpdate();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698