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

Unified Diff: third_party/WebKit/Source/core/css/CSSValuePool.cpp

Issue 2616703004: Remove CSSInitialValue::createLegacyImplicit() (Closed)
Patch Set: Created 3 years, 11 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/css/CSSValuePool.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSValuePool.cpp b/third_party/WebKit/Source/core/css/CSSValuePool.cpp
index b84db97a63417fd157fe7ab6a5c51cf09b2c593a..9aad1bb1ab4adf113c6242cee46fdbf8bcec21ee 100644
--- a/third_party/WebKit/Source/core/css/CSSValuePool.cpp
+++ b/third_party/WebKit/Source/core/css/CSSValuePool.cpp
@@ -44,8 +44,7 @@ CSSValuePool& cssValuePool() {
CSSValuePool::CSSValuePool()
: m_inheritedValue(new CSSInheritedValue),
- m_implicitInitialValue(new CSSInitialValue(/* implicit */ true)),
- m_explicitInitialValue(new CSSInitialValue(/* implicit */ false)),
+ m_initialValue(new CSSInitialValue()),
m_unsetValue(new CSSUnsetValue),
m_colorTransparent(new CSSColorValue(Color::transparent)),
m_colorWhite(new CSSColorValue(Color::white)),
@@ -58,8 +57,7 @@ CSSValuePool::CSSValuePool()
DEFINE_TRACE(CSSValuePool) {
visitor->trace(m_inheritedValue);
- visitor->trace(m_implicitInitialValue);
- visitor->trace(m_explicitInitialValue);
+ visitor->trace(m_initialValue);
visitor->trace(m_unsetValue);
visitor->trace(m_colorTransparent);
visitor->trace(m_colorWhite);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValuePool.h ('k') | third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698