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

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

Issue 2047923002: [WIP] Add support for CSSValue-> CSSLengthValue and CSSTranslation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@supported-types
Patch Set: Created 4 years, 6 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 47e3f4a7b3705f0087fdf088c7814769dcf7c497..62e0fde87ed3a8ec2726ad9b862b6faf03756545 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.cpp
@@ -42,12 +42,12 @@ CSSLengthValue* CSSSimpleLength::subtractInternal(const CSSLengthValue* other, E
return result->subtract(other, exceptionState);
}
-CSSLengthValue* CSSSimpleLength::multiplyInternal(double x, ExceptionState& exceptionState)
+CSSLengthValue* CSSSimpleLength::multiplyInternal(double x)
{
return create(m_value * x, m_unit);
}
-CSSLengthValue* CSSSimpleLength::divideInternal(double x, ExceptionState& exceptionState)
+CSSLengthValue* CSSSimpleLength::divideInternal(double x)
{
return create(m_value / x, m_unit);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSSimpleLength.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSTranslation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698