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

Unified Diff: Source/core/layout/style/SVGLayoutStyle.cpp

Issue 1001833002: Rename default -> initial style and use singletons. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/core/layout/style/SVGLayoutStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/SVGLayoutStyle.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyle.cpp b/Source/core/layout/style/SVGLayoutStyle.cpp
index b30edd99e133728ab211719c687c6984b8b58773..10eef96ce1a7e95c2e015297f2ce8a5d4afe9f44 100644
--- a/Source/core/layout/style/SVGLayoutStyle.cpp
+++ b/Source/core/layout/style/SVGLayoutStyle.cpp
@@ -33,20 +33,20 @@ namespace blink {
SVGLayoutStyle::SVGLayoutStyle()
{
- static SVGLayoutStyle* defaultStyle = new SVGLayoutStyle(CreateDefault);
+ static SVGLayoutStyle* initialStyle = new SVGLayoutStyle(CreateInitial);
- fill = defaultStyle->fill;
- stroke = defaultStyle->stroke;
- stops = defaultStyle->stops;
- misc = defaultStyle->misc;
- inheritedResources = defaultStyle->inheritedResources;
- layout = defaultStyle->layout;
- resources = defaultStyle->resources;
+ fill = initialStyle->fill;
+ stroke = initialStyle->stroke;
+ stops = initialStyle->stops;
+ misc = initialStyle->misc;
+ inheritedResources = initialStyle->inheritedResources;
+ layout = initialStyle->layout;
+ resources = initialStyle->resources;
setBitDefaults();
}
-SVGLayoutStyle::SVGLayoutStyle(CreateDefaultType)
+SVGLayoutStyle::SVGLayoutStyle(CreateInitialType)
{
setBitDefaults();
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698