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

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

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: Add correct png! 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
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/shapes/ShapeOutsideInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/shapes/ShapeOutsideInfo.h
diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.h b/Source/core/rendering/shapes/ShapeOutsideInfo.h
index 9596e528af4f6b77fc326e50a67bd43565a805c7..9ed8774ae0c860eeebc4a0da73b0755de9e6bcf8 100644
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.h
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.h
@@ -111,6 +111,7 @@ public:
void markShapeAsDirty() { m_shape.clear(); }
bool isShapeDirty() { return !m_shape.get(); }
LayoutSize shapeSize() const { return m_referenceBoxLogicalSize; }
+ bool isComputingShape() const { return m_isComputingShape; }
LayoutRect computedShapePhysicalBoundingBox() const;
FloatPoint shapeToRendererPoint(FloatPoint) const;
@@ -120,6 +121,7 @@ public:
protected:
ShapeOutsideInfo(const RenderBox& renderer)
: m_renderer(renderer)
+ , m_isComputingShape(false)
{ }
private:
@@ -139,6 +141,7 @@ private:
mutable OwnPtr<Shape> m_shape;
LayoutSize m_referenceBoxLogicalSize;
ShapeOutsideDeltas m_shapeOutsideDeltas;
+ mutable bool m_isComputingShape;
};
}
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/shapes/ShapeOutsideInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698