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

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

Issue 1997503003: Typed CSSOM: Rename LengthValue to CSSLengthValue (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/CSSTranslation.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
index 417242d18ecb1be30e7c7291d7271f77ffcf6413..2b045db8455c6b5738ca9929065f40c8adb5d75b 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp
@@ -10,10 +10,10 @@
namespace blink {
-CSSTranslation* CSSTranslation::create(LengthValue* x, LengthValue* y, LengthValue* z, ExceptionState& exceptionState)
+CSSTranslation* CSSTranslation::create(CSSLengthValue* x, CSSLengthValue* y, CSSLengthValue* z, ExceptionState& exceptionState)
{
if (z->containsPercent()) {
- exceptionState.throwTypeError("CSSTranslation does not support z LengthValue with percent units");
+ exceptionState.throwTypeError("CSSTranslation does not support z CSSLengthValue with percent units");
return nullptr;
}
return new CSSTranslation(x, y, z);
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSTranslation.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSTranslation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698