Index: Source/core/rendering/RenderButton.h |
diff --git a/Source/core/rendering/RenderButton.h b/Source/core/rendering/RenderButton.h |
index 246bab6ec37b9d534ca5dc9432063ded010d0bf4..c90dd59586077b45c1cbc1dc2b6868d2f5723b6c 100644 |
--- a/Source/core/rendering/RenderButton.h |
+++ b/Source/core/rendering/RenderButton.h |
@@ -21,7 +21,7 @@ |
#ifndef RenderButton_h |
#define RenderButton_h |
-#include "HTMLNames.h" |
+#include "core/html/HTMLInputElement.h" |
#include "core/rendering/RenderFlexibleBox.h" |
namespace WebCore { |
@@ -62,7 +62,7 @@ private: |
virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle) OVERRIDE; |
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE; |
- virtual bool hasLineIfEmpty() const OVERRIDE { return node() && node()->hasTagName(HTMLNames::inputTag); } |
+ virtual bool hasLineIfEmpty() const OVERRIDE { return isHTMLInputElement(node()); } |
RenderBlock* m_inner; |
}; |