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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSNumberValue.h

Issue 1957213002: Typed CSSOM: Rename NumberValue to CSSNumberValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix inline style tests Created 4 years, 7 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/CSSNumberValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/NumberValue.h b/third_party/WebKit/Source/core/css/cssom/CSSNumberValue.h
similarity index 71%
rename from third_party/WebKit/Source/core/css/cssom/NumberValue.h
rename to third_party/WebKit/Source/core/css/cssom/CSSNumberValue.h
index 88d45ab4281227b7700f3265dd896b474e2acdf2..ef098a01f880b22ebf3f2354513b01f326def285 100644
--- a/third_party/WebKit/Source/core/css/cssom/NumberValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSNumberValue.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NumberValue_h
-#define NumberValue_h
+#ifndef CSSNumberValue_h
+#define CSSNumberValue_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
@@ -13,13 +13,13 @@
namespace blink {
-class CORE_EXPORT NumberValue final : public StyleValue {
- WTF_MAKE_NONCOPYABLE(NumberValue);
+class CORE_EXPORT CSSNumberValue final : public StyleValue {
+ WTF_MAKE_NONCOPYABLE(CSSNumberValue);
DEFINE_WRAPPERTYPEINFO();
public:
- static NumberValue* create(double value)
+ static CSSNumberValue* create(double value)
{
- return new NumberValue(value);
+ return new CSSNumberValue(value);
}
double value() const { return m_value; }
@@ -32,7 +32,7 @@ Number);
StyleValueType type() const override { return StyleValueType::NumberType; }
private:
- NumberValue(double value) : m_value(value) {}
+ CSSNumberValue(double value) : m_value(value) {}
double m_value;
};
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSNumberValue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698