Index: Source/core/rendering/RenderTextControlSingleLine.h |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.h b/Source/core/rendering/RenderTextControlSingleLine.h |
index 6975257c1924105f7c0e35e796f487b776df335b..1a4773b79f68319077ce97e49721ba8e5f2e7ad2 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 isOfType(RenderObjectType type) const override { return type == RenderObjectTextField || RenderTextControl::isOfType(type); } |
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTextField || RenderTextControl::isOfType(type); } |
virtual void paint(const PaintInfo&, const LayoutPoint&) override; |
virtual void layout() override; |
@@ -81,7 +81,7 @@ private: |
LayoutUnit m_desiredInnerEditorLogicalHeight; |
}; |
-DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTextControlSingleLine, isTextField()); |
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderTextControlSingleLine, isTextField()); |
// ---------------------------- |