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

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

Issue 2036893003: [CSS Typed OM] Rename StyleValue -> CSSStyleValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update order of core.gypi 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/CSSLengthValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.h b/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.h
index c16569312a49b1618a8625333e078451a21a4c0f..9e56d909441819d4b0d2a4f4491d2cffb7fce1ab 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.h
@@ -5,14 +5,14 @@
#ifndef CSSLengthValue_h
#define CSSLengthValue_h
-#include "core/css/cssom/StyleValue.h"
+#include "core/css/cssom/CSSStyleValue.h"
namespace blink {
class CalcDictionary;
class ExceptionState;
-class CORE_EXPORT CSSLengthValue : public StyleValue {
+class CORE_EXPORT CSSLengthValue : public CSSStyleValue {
WTF_MAKE_NONCOPYABLE(CSSLengthValue);
DEFINE_WRAPPERTYPEINFO();
public:
@@ -47,11 +47,11 @@ protected:
static const int kNumSupportedUnits = 15;
};
-DEFINE_TYPE_CASTS(CSSLengthValue, StyleValue, value,
- (value->type() == StyleValue::SimpleLengthType
- || value->type() == StyleValue::CalcLengthType),
- (value.type() == StyleValue::SimpleLengthType
- || value.type() == StyleValue::CalcLengthType));
+DEFINE_TYPE_CASTS(CSSLengthValue, CSSStyleValue, value,
+ (value->type() == CSSStyleValue::SimpleLengthType
+ || value->type() == CSSStyleValue::CalcLengthType),
+ (value.type() == CSSStyleValue::SimpleLengthType
+ || value.type() == CSSStyleValue::CalcLengthType));
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698