Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h |
| diff --git a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h |
| index 8a63e2815df211ae573e41fea5d10cbc5d7fcefe..87de25ee3832cb7de859579f470ff630136285d0 100644 |
| --- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h |
| +++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h |
| @@ -29,8 +29,8 @@ public: |
| const GlobalPaintFlags, const FillLayer&, const LayoutRect& paintRect); |
| LayoutRect destRect() const { return m_destRect; } |
| - LayoutSize tileSize() const { return m_tileSize; } |
| - LayoutSize imageContainerSize() const { return m_imageContainerSize; } |
| + LayoutSize tileSize() const { ASSERT(m_imageContainerSize == m_tileSize); return m_tileSize; } |
|
Stephen Chennney
2016/03/11 17:39:01
I'll remove these before landing, and remove the n
|
| + LayoutSize imageContainerSize() const { ASSERT(m_imageContainerSize == m_tileSize); return m_imageContainerSize; } |
| LayoutPoint phase() const { return m_phase; } |
| // Space-size represents extra width and height that may be added to |
| // the image if used as a pattern with background-repeat: space. |
| @@ -49,10 +49,7 @@ private: |
| void setNoRepeatX(LayoutUnit xOffset); |
| void setNoRepeatY(LayoutUnit yOffset); |
| - void pixelSnapGeometry(); |
| - |
| void useFixedAttachment(const LayoutPoint& attachmentPoint); |
| - void clip(const LayoutRect&); |
| void setHasNonLocalGeometry() { m_hasNonLocalGeometry = true; } |
| LayoutRect m_destRect; |