Index: third_party/WebKit/Source/core/html/HTMLElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.h b/third_party/WebKit/Source/core/html/HTMLElement.h |
index 6a33cd0d4a711566417be6fbc6e53f4e14dd357a..9ad60ed559ed3b682f782e35b2d26e7db18a71bb 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.h |
@@ -122,9 +122,11 @@ class CORE_EXPORT HTMLElement : public Element { |
protected: |
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType); |
+ enum AllowPercentage { DontAllowPercentageValues, AllowPercentageValues }; |
void addHTMLLengthToStyle(MutableStylePropertySet*, |
CSSPropertyID, |
- const String& value); |
+ const String& value, |
+ AllowPercentage = AllowPercentageValues); |
void addHTMLColorToStyle(MutableStylePropertySet*, |
CSSPropertyID, |
const String& color); |