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

Unified Diff: Source/core/rendering/RenderBlock.cpp

Issue 333743002: Rename LayoutStateDisabler to ForceHorriblySlowRectMapping (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stack stack stack Created 6 years, 6 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/RenderBlock.h ('k') | Source/core/rendering/RenderBlockFlow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBlock.cpp
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
index dc0f14ec6ecda468d513c4e42e3024e81d51eee7..e59fcc1d5f25ed1ad37ebc8b30876833393fb2ed 100644
--- a/Source/core/rendering/RenderBlock.cpp
+++ b/Source/core/rendering/RenderBlock.cpp
@@ -379,7 +379,7 @@ void RenderBlock::invalidateTreeAfterLayout(const RenderLayerModelObject& invali
// Take care of positioned objects. This is required as LayoutState keeps a single clip rect.
if (TrackedRendererListHashSet* positionedObjects = this->positionedObjects()) {
TrackedRendererListHashSet::iterator end = positionedObjects->end();
- LayoutStateMaintainer statePusher(*this, isTableRow() ? LayoutSize() : locationOffset());
+ LayoutState statePusher(*this, isTableRow() ? LayoutSize() : locationOffset());
for (TrackedRendererListHashSet::iterator it = positionedObjects->begin(); it != end; ++it) {
RenderBox* box = *it;
@@ -1575,8 +1575,8 @@ bool RenderBlock::simplifiedLayout()
{
- // LayoutStateMaintainer needs this deliberate scope to pop before repaint
- LayoutStateMaintainer statePusher(*this, locationOffset());
+ // LayoutState needs this deliberate scope to pop before repaint
+ LayoutState statePusher(*this, locationOffset());
if (needsPositionedMovementLayout() && !tryLayoutDoingPositionedMovementOnly())
return false;
« no previous file with comments | « Source/core/rendering/RenderBlock.h ('k') | Source/core/rendering/RenderBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698