Index: Source/core/rendering/RenderTextControlSingleLine.h |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.h b/Source/core/rendering/RenderTextControlSingleLine.h |
index 662e8c37789856ebab271d447e203feaa3c9d778..2c060fdcf19573b5071345ac62f0e3813ccc5f33 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; |