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

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

Issue 2011833002: Typed CSSOM: Rename CalcLength and StyleCalcLength to CSSCalcLength (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.cpp
index 1acad1008d067fa35f056c3ad4e5308e5ea49169..7f08b13aa7464a32d6e698418b3b209bd1cb2aee 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSLengthValue.cpp
@@ -6,9 +6,9 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/css/CSSPrimitiveValueUnitTrie.h"
+#include "core/css/cssom/CSSCalcLength.h"
#include "core/css/cssom/CSSSimpleLength.h"
#include "core/css/cssom/CalcDictionary.h"
-#include "core/css/cssom/StyleCalcLength.h"
#include "wtf/HashMap.h"
namespace blink {
@@ -36,7 +36,7 @@ CSSLengthValue* CSSLengthValue::from(double value, const String& type, Exception
CSSLengthValue* CSSLengthValue::from(const CalcDictionary& dictionary, ExceptionState& exceptionState)
{
- return StyleCalcLength::create(dictionary, exceptionState);
+ return CSSCalcLength::create(dictionary, exceptionState);
}
CSSLengthValue* CSSLengthValue::add(const CSSLengthValue* other, ExceptionState& exceptionState)
@@ -44,7 +44,7 @@ CSSLengthValue* CSSLengthValue::add(const CSSLengthValue* other, ExceptionState&
if (type() == other->type() || type() == CalcLengthType)
return addInternal(other, exceptionState);
- StyleCalcLength* result = StyleCalcLength::create(this, exceptionState);
+ CSSCalcLength* result = CSSCalcLength::create(this, exceptionState);
return result->add(other, exceptionState);
}
@@ -53,7 +53,7 @@ CSSLengthValue* CSSLengthValue::subtract(const CSSLengthValue* other, ExceptionS
if (type() == other->type() || type() == CalcLengthType)
return subtractInternal(other, exceptionState);
- StyleCalcLength* result = StyleCalcLength::create(this, exceptionState);
+ CSSCalcLength* result = CSSCalcLength::create(this, exceptionState);
return result->subtract(other, exceptionState);
}

Powered by Google App Engine
This is Rietveld 408576698