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

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

Issue 2958233002: [CSS Typed OM] Implement CSSUnit::to for fixed length types (Closed)
Patch Set: Use new constants Created 3 years, 5 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/CSSUnitValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.h b/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.h
index 4187bd174f2306e500b9d0f0d767afb53d627a80..ee35aea89189b6332e2dde213f7a0d3124695bda 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.h
@@ -52,6 +52,7 @@ class CORE_EXPORT CSSUnitValue final : public CSSNumericValue {
CSSUnitValue(double value, CSSPrimitiveValue::UnitType unit)
: CSSNumericValue(), value_(value), unit_(unit) {}
+ double ConvertFixedLength(CSSPrimitiveValue::UnitType) const;
double ConvertAngle(CSSPrimitiveValue::UnitType) const;
double value_;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSHelper.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSUnitValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698