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

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

Issue 132703002: The default render object layout implementation is dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | « no previous file | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index 7034ad7589ea8a4692054474d86583df7d249ccd..aad27d20daac37f959076a9ca2ba1d66a6bd593c 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -665,8 +665,9 @@ public:
virtual void paint(PaintInfo&, const LayoutPoint&);
- // Recursive function that computes the size and position of this object and all its descendants.
- virtual void layout();
+ // Subclasses must reimplement this method to compute the size and position
+ // of this object and all its descendants.
+ virtual void layout() = 0;
virtual void didLayout(ResourceLoadPriorityOptimizer&);
virtual void didScroll(ResourceLoadPriorityOptimizer&);
« no previous file with comments | « no previous file | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698