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

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

Issue 2550063002: Remove double constructors that assume degrees from CSSRotation (Closed)
Patch Set: Fix test Created 4 years 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/CSSAngleValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h b/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h
index addc12b2a6cef1f0e0617d55b15372f3b2fa408d..8e47d7e4217c0397c13e4b5365a454571d06aaba 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSAngleValue.h
@@ -16,6 +16,7 @@ class CORE_EXPORT CSSAngleValue final : public CSSStyleValue {
public:
static CSSAngleValue* create(double value, const String& unit);
+ static CSSAngleValue* fromCSSValue(const CSSPrimitiveValue&);
StyleValueType type() const override { return AngleType; }

Powered by Google App Engine
This is Rietveld 408576698