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

Unified Diff: third_party/WebKit/Source/core/css/CSSInitialValue.h

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSInitialValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSInitialValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSInitialValue.h b/third_party/WebKit/Source/core/css/CSSInitialValue.h
index 475019f832a7278a6af64011cb7a4d346b718b95..d203c1c965aac5b666cf07de5c45a63a4f8fb2bd 100644
--- a/third_party/WebKit/Source/core/css/CSSInitialValue.h
+++ b/third_party/WebKit/Source/core/css/CSSInitialValue.h
@@ -29,12 +29,9 @@ namespace blink {
class CSSInitialValue : public CSSValue {
public:
static CSSInitialValue* create();
- static CSSInitialValue* createLegacyImplicit(); // crbug.com/471917
String customCSSText() const;
- bool isImplicit() const { return m_isImplicit; }
-
bool equals(const CSSInitialValue&) const { return true; }
DEFINE_INLINE_TRACE_AFTER_DISPATCH() {
@@ -44,10 +41,7 @@ class CSSInitialValue : public CSSValue {
private:
friend class CSSValuePool;
- explicit CSSInitialValue(bool implicit)
- : CSSValue(InitialClass), m_isImplicit(implicit) {}
-
- bool m_isImplicit;
+ CSSInitialValue() : CSSValue(InitialClass) {}
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSInitialValue, isInitialValue());
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSInitialValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698