Index: third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
index ae4b93ec3fe86469d46280af0f3e7c76a857e8bd..c8e45e6ee2c214dd5dd8322136e17c163cc8ddfe 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h |
@@ -24,9 +24,9 @@ class PLATFORM_EXPORT DrawingRecorder final { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
WTF_MAKE_NONCOPYABLE(DrawingRecorder); |
public: |
- static bool useCachedDrawingIfPossible(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type); |
+ static bool useCachedDrawingIfPossible(GraphicsContext&, const DisplayItemClient&, DisplayItem::Type); |
- DrawingRecorder(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type, const FloatRect& cullRect); |
+ DrawingRecorder(GraphicsContext&, const DisplayItemClient&, DisplayItem::Type, const FloatRect& cullRect); |
~DrawingRecorder(); |
#if ENABLE(ASSERT) |
@@ -35,7 +35,7 @@ public: |
private: |
GraphicsContext& m_context; |
- DisplayItemClientWrapper m_displayItemClient; |
+ const DisplayItemClient& m_displayItemClient; |
const DisplayItem::Type m_displayItemType; |
#if ENABLE(ASSERT) |
size_t m_displayItemPosition; |