Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index fda24bc8eb8e8e3406c47a8957006dd914ae2195..f40633f164f4e0ca2f8acf6a8cd414e3e5bfd09c 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -105,7 +105,7 @@ bool HTMLElement::ieForbidsInsertHTML() const |
return false; |
} |
-static inline int unicodeBidiAttributeForDirAuto(HTMLElement* element) |
+static inline CSSValueID unicodeBidiAttributeForDirAuto(HTMLElement* element) |
{ |
if (element->hasLocalName(preTag) || element->hasLocalName(textareaTag)) |
return CSSValueWebkitPlaintext; |
@@ -564,8 +564,8 @@ void HTMLElement::applyAlignmentAttributeToStyle(const AtomicString& alignment, |
{ |
// Vertical alignment with respect to the current baseline of the text |
// right or left means floating images. |
- int floatValue = CSSValueInvalid; |
- int verticalAlignValue = CSSValueInvalid; |
+ CSSValueID floatValue = CSSValueInvalid; |
+ CSSValueID verticalAlignValue = CSSValueInvalid; |
if (equalIgnoringCase(alignment, "absmiddle")) |
verticalAlignValue = CSSValueMiddle; |