Index: Source/core/rendering/RenderTextControl.h |
diff --git a/Source/core/rendering/RenderTextControl.h b/Source/core/rendering/RenderTextControl.h |
index a042009448123b172bea15a5a81e3223cacd9a4f..4bbb1b4d5876cda98eaa7080d57313d5cb90d7cc 100644 |
--- a/Source/core/rendering/RenderTextControl.h |
+++ b/Source/core/rendering/RenderTextControl.h |
@@ -69,9 +69,10 @@ protected: |
// element as an implementation detail which would normally be affected by this. |
virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE { return lastLineBoxBaseline(direction); } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectTextControl || RenderBlockFlow::isOfType(type); } |
+ |
private: |
virtual const char* renderName() const OVERRIDE { return "RenderTextControl"; } |
- virtual bool isTextControl() const OVERRIDE FINAL { return true; } |
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE FINAL; |
virtual void computePreferredLogicalWidths() OVERRIDE FINAL; |
virtual void removeLeftoverAnonymousBlock(RenderBlock*) OVERRIDE FINAL { } |