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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work Created 4 years, 3 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/cssom/CSSKeywordValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
index ac4648b8139535be2316009bf40a26fe78162a0f..06cef51efe7440be3801f9fd08379ab57dc09fac 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
@@ -6,7 +6,7 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/css/CSSCustomIdentValue.h"
-#include "core/css/CSSPrimitiveValue.h"
+#include "core/css/CSSIdentifierValue.h"
#include "core/css/parser/CSSPropertyParser.h"
namespace blink {
@@ -36,7 +36,7 @@ CSSValue* CSSKeywordValue::toCSSValue() const
if (keywordID == CSSValueID::CSSValueInvalid) {
return CSSCustomIdentValue::create(m_keywordValue);
}
- return CSSPrimitiveValue::createIdentifier(keywordID);
+ return CSSIdentifierValue::create(keywordID);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698