Chromium Code Reviews| Index: Source/core/rendering/RenderTextControlSingleLine.h |
| diff --git a/Source/core/rendering/RenderTextControlSingleLine.h b/Source/core/rendering/RenderTextControlSingleLine.h |
| index 91970d643b6c1ba07ce4ba98e40f3d9ba041a127..ab67bbbd61b7f9c6eb25b2000fa5360c664523f1 100644 |
| --- a/Source/core/rendering/RenderTextControlSingleLine.h |
| +++ b/Source/core/rendering/RenderTextControlSingleLine.h |
| @@ -113,6 +113,9 @@ public: |
| RenderTextControlInnerBlock(Element* element) : RenderBlock(element) { } |
| private: |
| + virtual bool isTextField() const { return true; } |
|
esprehn
2013/08/12 23:38:06
You can't override this, we assume that if isTextF
bokan
2013/08/13 01:13:48
Replaced with a new virtual RenderBox::isIntristic
|
| + virtual bool scrollsOverflowX() const OVERRIDE { return hasOverflowClip(); } |
| + virtual bool scrollsOverflowY() const OVERRIDE { return false; } |
|
esprehn
2013/08/12 23:38:06
missing OVERRIDE on all of these
bokan
2013/08/13 01:13:48
Done.
|
| virtual bool hasLineIfEmpty() const { return true; } |
| }; |