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

Unified Diff: Source/core/rendering/style/RenderStyle.cpp

Issue 695423002: Push LayoutState from RenderSVGText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 1 month 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: Source/core/rendering/style/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index 568ab195c1d6a256b7a170899346daffd40aec32..86e8b6e4dc58ed2963064f60ebbe98bc93875ac8 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -1309,6 +1309,12 @@ void RenderStyle::clearAppliedTextDecorations()
rareInheritedData.access()->appliedTextDecorations = nullptr;
}
+void RenderStyle::clearMultiCol()
+{
+ rareNonInheritedData.access()->m_multiCol = nullptr;
+ rareNonInheritedData.access()->m_multiCol.init();
+}
+
void RenderStyle::setFontStretch(FontStretch stretch)
{
FontSelector* currentFontSelector = font().fontSelector();
« Source/core/rendering/style/DataRef.h ('K') | « Source/core/rendering/style/RenderStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698