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

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

Issue 209303002: Revert "[CSS Shapes] clamp RasterShape shapeMargin to reference box size" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/shapes/RasterShape.h
diff --git a/Source/core/rendering/shapes/RasterShape.h b/Source/core/rendering/shapes/RasterShape.h
index ed650a8044a370db8f8e908526a0a20c366ca97f..5da5442ce4dd86afba95873f31cdd1d82fe2dfb9 100644
--- a/Source/core/rendering/shapes/RasterShape.h
+++ b/Source/core/rendering/shapes/RasterShape.h
@@ -92,9 +92,9 @@ private:
class RasterShape FINAL : public Shape {
WTF_MAKE_NONCOPYABLE(RasterShape);
public:
- RasterShape(PassOwnPtr<RasterShapeIntervals> intervals, const IntSize& marginRectSize)
+ RasterShape(PassOwnPtr<RasterShapeIntervals> intervals, const IntSize& imageSize)
: m_intervals(intervals)
- , m_marginRectSize(marginRectSize)
+ , m_imageSize(imageSize)
{
}
@@ -111,7 +111,7 @@ private:
OwnPtr<RasterShapeIntervals> m_intervals;
mutable OwnPtr<RasterShapeIntervals> m_marginIntervals;
- IntSize m_marginRectSize;
+ IntSize m_imageSize;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698