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

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

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy 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/StylePropertySet.cpp
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.cpp b/third_party/WebKit/Source/core/css/StylePropertySet.cpp
index d648f0f502c5c1cb4b9fe6206c4d75edc77adfa9..f6c760f9197d1e17abffa57751b90b65a51c83c0 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.cpp
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.cpp
@@ -24,7 +24,7 @@
#include "core/StylePropertyShorthand.h"
#include "core/css/CSSCustomPropertyDeclaration.h"
-#include "core/css/CSSPrimitiveValue.h"
+#include "core/css/CSSIdentifierValue.h"
#include "core/css/CSSPropertyMetadata.h"
#include "core/css/StylePropertySerializer.h"
#include "core/css/StyleSheetContents.h"
@@ -363,8 +363,8 @@ bool MutableStylePropertySet::setProperty(const CSSProperty& property,
bool MutableStylePropertySet::setProperty(CSSPropertyID propertyID,
CSSValueID identifier,
bool important) {
- setProperty(CSSProperty(
- propertyID, *CSSPrimitiveValue::createIdentifier(identifier), important));
+ setProperty(CSSProperty(propertyID, *CSSIdentifierValue::create(identifier),
+ important));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698