Index: Source/core/dom/PresentationAttributeStyle.cpp |
diff --git a/Source/core/dom/PresentationAttributeStyle.cpp b/Source/core/dom/PresentationAttributeStyle.cpp |
index 7b92f13fbfe2d62038fbd5402f1d17d60c1d1ce8..3d9a3e35496002585144b1fc427368e391cafac9 100644 |
--- a/Source/core/dom/PresentationAttributeStyle.cpp |
+++ b/Source/core/dom/PresentationAttributeStyle.cpp |
@@ -31,10 +31,10 @@ |
#include "config.h" |
#include "core/dom/PresentationAttributeStyle.h" |
-#include "HTMLNames.h" |
#include "core/css/StylePropertySet.h" |
#include "core/dom/Attribute.h" |
#include "core/dom/Element.h" |
+#include "core/html/HTMLInputElement.h" |
#include "wtf/HashFunctions.h" |
#include "wtf/HashMap.h" |
#include "wtf/text/CString.h" |
@@ -121,7 +121,7 @@ static void makePresentationAttributeCacheKey(Element& element, PresentationAttr |
if (!element.isHTMLElement()) |
return; |
// Interpretation of the size attributes on <input> depends on the type attribute. |
- if (element.hasTagName(inputTag)) |
+ if (isHTMLInputElement(element)) |
return; |
unsigned size = element.attributeCount(); |
for (unsigned i = 0; i < size; ++i) { |