Index: third_party/WebKit/Source/core/css/cssom/LengthValue.h |
diff --git a/third_party/WebKit/Source/core/css/cssom/LengthValue.h b/third_party/WebKit/Source/core/css/cssom/LengthValue.h |
index dbf2763a894796ae2f9296de4cc905255e9c7a13..91ef8eb39da32ec05394476ebda9fae8cea45bf4 100644 |
--- a/third_party/WebKit/Source/core/css/cssom/LengthValue.h |
+++ b/third_party/WebKit/Source/core/css/cssom/LengthValue.h |
@@ -23,7 +23,10 @@ public: |
LengthValue* multiply(double, ExceptionState&); |
LengthValue* divide(double, ExceptionState&); |
+ double computeLengthPx(ExceptionState&) const; |
+ |
virtual bool containsPercent() const = 0; |
+ virtual bool isRelative() const = 0; |
static LengthValue* parse(const String& cssString, ExceptionState&); |
static LengthValue* fromValue(double value, const String& typeStr, ExceptionState&); |