Index: Source/core/rendering/RenderTextControlSingleLine.h |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.h b/Source/core/rendering/RenderTextControlSingleLine.h |
index 19882564856e0de7823dff10383902c7bdf30537..07226c38803962335c2064196ba33414f88b31a1 100644 |
--- a/Source/core/rendering/RenderTextControlSingleLine.h |
+++ b/Source/core/rendering/RenderTextControlSingleLine.h |
@@ -49,7 +49,7 @@ protected: |
private: |
virtual bool hasControlClip() const OVERRIDE FINAL; |
virtual LayoutRect controlClipRect(const LayoutPoint&) const OVERRIDE FINAL; |
- virtual bool isTextField() const OVERRIDE FINAL { return true; } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectTextField || RenderTextControl::isOfType(type); } |
virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
virtual void layout() OVERRIDE; |