Index: third_party/WebKit/Source/core/paint/ClipScope.h |
diff --git a/third_party/WebKit/Source/core/paint/ClipScope.h b/third_party/WebKit/Source/core/paint/ClipScope.h |
index 052b17445b99a296446b5f357f04fab7dd3bb05c..e05190f96dc44a16bba15f43e6ee2796c25e9dbe 100644 |
--- a/third_party/WebKit/Source/core/paint/ClipScope.h |
+++ b/third_party/WebKit/Source/core/paint/ClipScope.h |
@@ -14,7 +14,7 @@ class ClipScope { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
WTF_MAKE_NONCOPYABLE(ClipScope); |
public: |
- ClipScope(GraphicsContext* context) |
+ ClipScope(GraphicsContext& context) |
: m_context(context) |
, m_clipCount(0) { } |
~ClipScope(); |
@@ -22,7 +22,7 @@ public: |
void clip(const LayoutRect& clipRect, SkRegion::Op operation); |
private: |
- GraphicsContext* m_context; |
+ GraphicsContext& m_context; |
int m_clipCount; |
}; |