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

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

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase better. Created 6 years, 2 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
« no previous file with comments | « Source/core/rendering/RenderSliderThumb.cpp ('k') | Source/core/rendering/RenderTableCaption.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTable.h
diff --git a/Source/core/rendering/RenderTable.h b/Source/core/rendering/RenderTable.h
index 65a832e64edd1425ea5d943850768b4b205e6e35..c1c357ec63a7dcfa3d0b0c72bde16c37c564112b 100644
--- a/Source/core/rendering/RenderTable.h
+++ b/Source/core/rendering/RenderTable.h
@@ -285,7 +285,7 @@ protected:
private:
virtual const char* renderName() const override { return "RenderTable"; }
- virtual bool isTable() const override { return true; }
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectTable || RenderBlock::isOfType(type); }
virtual void paint(PaintInfo&, const LayoutPoint&) override;
virtual void paintObject(PaintInfo&, const LayoutPoint&) override;
« no previous file with comments | « Source/core/rendering/RenderSliderThumb.cpp ('k') | Source/core/rendering/RenderTableCaption.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698