Index: Source/core/rendering/shapes/RasterShape.h |
diff --git a/Source/core/rendering/shapes/RasterShape.h b/Source/core/rendering/shapes/RasterShape.h |
index c66de8472bab1466ab7522134c27de4922e3f879..f5a09d3b189c59de32a2054d56298d9e5d196fcd 100644 |
--- a/Source/core/rendering/shapes/RasterShape.h |
+++ b/Source/core/rendering/shapes/RasterShape.h |
@@ -90,6 +90,12 @@ public: |
virtual LayoutRect shapeMarginLogicalBoundingBox() const OVERRIDE { return static_cast<LayoutRect>(marginIntervals().bounds()); } |
virtual bool isEmpty() const OVERRIDE { return m_intervals->isEmpty(); } |
virtual void getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHeight, SegmentList&) const OVERRIDE; |
+ virtual void buildDisplayPaths(DisplayPaths& paths) const OVERRIDE |
+ { |
+ m_intervals->buildBoundsPath(paths.shape); |
+ if (shapeMargin()) |
+ marginIntervals().buildBoundsPath(paths.marginShape); |
+ } |
private: |
const RasterShapeIntervals& marginIntervals() const; |