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

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

Issue 166033009: *** FOR PROTOTYPE PURPOSES ONLY! NOT INTENDED FOR COMMIT! *** (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/RenderReplica.h
diff --git a/Source/core/rendering/RenderReplica.h b/Source/core/rendering/RenderReplica.h
index 84bbc6fab5f0aad2fbb09eb9aa2579da3d4e164d..4e0b7ad742f59b1b3f84c16a3a1f2cafb3b00265 100644
--- a/Source/core/rendering/RenderReplica.h
+++ b/Source/core/rendering/RenderReplica.h
@@ -43,7 +43,15 @@ public:
virtual LayerType layerTypeRequired() const OVERRIDE { return NormalLayer; }
+ // This class is an easy demonstration of how to we'd switch over each class
+ // one by one. The layout here is exceedingly simple and so there isn't much
+ // to do. There are no children.
+ //
+ // NOTE: I've kept the regular layout method, but it would go away once we're
+ // done switching everything over.
virtual void layout() OVERRIDE;
+ virtual bool isNonRecursiveLayout() const OVERRIDE { return true; }
+ virtual void preLayout() OVERRIDE;
virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698