| 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 9796cc3b8347ad29f000d0ef6904cf3b575c5e60..48c9bcdb594df75063a6cb26922a69e9d6b09dc5 100644
|
| --- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
|
| +++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
|
| @@ -19,7 +19,7 @@ class LayoutObject;
|
| class LayoutRect;
|
|
|
| class BackgroundImageGeometry {
|
| - STACK_ALLOCATED();
|
| + DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
|
| public:
|
| BackgroundImageGeometry()
|
| : m_hasNonLocalGeometry(false)
|
| @@ -28,12 +28,12 @@ public:
|
| void calculate(const LayoutBoxModelObject&, const LayoutBoxModelObject* paintContainer,
|
| const GlobalPaintFlags, const FillLayer&, const LayoutRect& paintRect);
|
|
|
| - LayoutRect destRect() const { return m_destRect; }
|
| - LayoutSize tileSize() const { return m_tileSize; }
|
| - LayoutPoint phase() const { return m_phase; }
|
| + const LayoutRect& destRect() const { return m_destRect; }
|
| + const LayoutSize& tileSize() const { return m_tileSize; }
|
| + const 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.
|
| - LayoutSize spaceSize() const { return m_repeatSpacing; }
|
| + const LayoutSize& spaceSize() const { return m_repeatSpacing; }
|
| // Has background-attachment: fixed. Implies that we can't always cheaply compute destRect.
|
| bool hasNonLocalGeometry() const { return m_hasNonLocalGeometry; }
|
|
|
|
|