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

Unified Diff: Source/core/rendering/shapes/ShapeOutsideInfo.cpp

Issue 635533003: Don't delete nodes in the float interval tree while traversing it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added square.png and another test 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
Index: Source/core/rendering/shapes/ShapeOutsideInfo.cpp
diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
index f269bf875874f9555f7ff4be63c404d414825454..a3325f9ea2e777b4b6fd97143934b26291a2e2ec 100644
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.cpp
@@ -142,6 +142,7 @@ const Shape& ShapeOutsideInfo::computedShape() const
if (Shape* shape = m_shape.get())
return *shape;
+ m_computingShape = true;
Julien - ping for review 2014/10/08 18:13:27 TemporaryChange<bool> isInComputingShape(m_computi
const RenderStyle& style = *m_renderer.style();
ASSERT(m_renderer.containingBlock());
const RenderStyle& containingBlockStyle = *m_renderer.containingBlock()->style();
@@ -170,6 +171,7 @@ const Shape& ShapeOutsideInfo::computedShape() const
}
}
+ m_computingShape = false;
ASSERT(m_shape);
return *m_shape;
}

Powered by Google App Engine
This is Rietveld 408576698