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

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

Issue 197283038: Add RenderObject::needsResizeLayout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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/RenderBox.h
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
index d546a06a66bc5e72f18b50919096123a69aa30e0..55ceeedf772b56975071d1dcf59df3e9fade94d3 100644
--- a/Source/core/rendering/RenderBox.h
+++ b/Source/core/rendering/RenderBox.h
@@ -530,6 +530,14 @@ public:
return true;
}
+ bool tryLayoutDoingResizeOnly()
+ {
+ // FIXME: For now this is for RenderView only. Needs more verifications before applied to generic objects.
+ ASSERT(isRenderView());
+ // For now what needed to do happens to be the same as tryLayoutDoingPositionedMovementOnly() does.
+ return tryLayoutDoingPositionedMovementOnly();
Julien - ping for review 2014/03/21 19:39:10 I don't think this is fundamentally right to do a
Xianzhu 2014/03/21 20:10:36 Actually the intent is not to do a position moveme
+ }
+
LayoutRect maskClipRect();
virtual PositionWithAffinity positionForPoint(const LayoutPoint&) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698