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

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

Issue 2036893003: [CSS Typed OM] Rename StyleValue -> CSSStyleValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update more union types Created 4 years, 6 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/CSSStyleValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/StyleValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp
similarity index 84%
rename from third_party/WebKit/Source/core/css/cssom/StyleValue.cpp
rename to third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp
index b862a39d85680114d4d6e602e25969cd14c94fe7..9be68ea08c3e2443960e51c05c6a9c2748cf6cfd 100644
--- a/third_party/WebKit/Source/core/css/cssom/StyleValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/css/cssom/StyleValue.h"
+#include "core/css/cssom/CSSStyleValue.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ScriptValue.h"
@@ -13,7 +13,7 @@
namespace blink {
-ScriptValue StyleValue::parse(ScriptState* scriptState, const String& propertyName, const String& value, ExceptionState& exceptionState)
+ScriptValue CSSStyleValue::parse(ScriptState* scriptState, const String& propertyName, const String& value, ExceptionState& exceptionState)
{
if (propertyName.isEmpty()) {
exceptionState.throwTypeError("Property name cannot be empty");
@@ -34,7 +34,7 @@ ScriptValue StyleValue::parse(ScriptState* scriptState, const String& propertyNa
if (!cssValue)
return ScriptValue::createNull(scriptState);
- StyleValue* styleValue = StyleValueFactory::create(propertyID, *cssValue);
+ CSSStyleValue* styleValue = StyleValueFactory::create(propertyID, *cssValue);
if (!styleValue)
return ScriptValue::createNull(scriptState);
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSStyleValue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698