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

Unified Diff: Source/core/rendering/svg/RenderSVGRoot.cpp

Issue 247713003: Separate repaint and layout requirements of StyleDifference (Step 3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments; Rebase on RAL Created 6 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 | « Source/core/rendering/style/StyleDifference.h ('k') | Source/core/rendering/svg/SVGResourcesCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGRoot.cpp
diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp
index b778d32b41e6afd853574cf510fd521c6aa8ef0a..3726059f15e3f1c6ceceac4014ab1554396f8977 100644
--- a/Source/core/rendering/svg/RenderSVGRoot.cpp
+++ b/Source/core/rendering/svg/RenderSVGRoot.cpp
@@ -284,8 +284,7 @@ void RenderSVGRoot::styleDidChange(StyleDifference diff, const RenderStyle* oldS
{
if (diff.needsFullLayout())
setNeedsBoundariesUpdate();
- // FIXME: How about other diff flags?
- if (diff.needsRepaintObjectOnly()) {
+ if (diff.needsRepaint()) {
// Box decorations may have appeared/disappeared - recompute status.
m_hasBoxDecorations = calculateHasBoxDecorations();
}
« no previous file with comments | « Source/core/rendering/style/StyleDifference.h ('k') | Source/core/rendering/svg/SVGResourcesCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698