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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.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/CSSSimpleLength.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.cpp b/third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.cpp
index 20e9b0fb8641d3d7509bf2965cc9f21a68792e65..c4aea7b740035c5f2eab1a36e5fcf1bac5477bc4 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.cpp
@@ -5,7 +5,7 @@
#include "core/css/cssom/CSSSimpleLength.h"
#include "core/css/CSSPrimitiveValue.h"
-#include "core/css/cssom/StyleCalcLength.h"
+#include "core/css/cssom/CSSCalcLength.h"
#include "wtf/text/StringBuilder.h"
namespace blink {
@@ -27,7 +27,7 @@ CSSLengthValue* CSSSimpleLength::addInternal(const CSSLengthValue* other, Except
return create(m_value + o->value(), m_unit);
// Different units resolve to a calc.
- StyleCalcLength* result = StyleCalcLength::create(this, exceptionState);
+ CSSCalcLength* result = CSSCalcLength::create(this, exceptionState);
return result->add(other, exceptionState);
}
@@ -38,7 +38,7 @@ CSSLengthValue* CSSSimpleLength::subtractInternal(const CSSLengthValue* other, E
return create(m_value - o->value(), m_unit);
// Different units resolve to a calc.
- StyleCalcLength* result = StyleCalcLength::create(this, exceptionState);
+ CSSCalcLength* result = CSSCalcLength::create(this, exceptionState);
return result->subtract(other, exceptionState);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSLengthValue.cpp ('k') | third_party/WebKit/Source/core/css/cssom/CalcLength.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698