Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1497)

Unified Diff: Source/core/rendering/RenderTextControlSingleLine.h

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: RenderObject: Cut down vtbls a bit Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698