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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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: third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
index 2f2c8d53d99f0f46ccbb7c4140c4c40d21d6a732..40567831af525dad33ffc194be8dafba649d9c87 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.h
@@ -19,10 +19,10 @@ class PLATFORM_EXPORT ClipRecorder {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
WTF_MAKE_NONCOPYABLE(ClipRecorder);
public:
- ClipRecorder(GraphicsContext&, const DisplayItemClientWrapper&, DisplayItem::Type, const LayoutRect& clipRect);
+ ClipRecorder(GraphicsContext&, const DisplayItemClient&, DisplayItem::Type, const LayoutRect& clipRect);
~ClipRecorder();
private:
- DisplayItemClientWrapper m_client;
+ const DisplayItemClient& m_client;
GraphicsContext& m_context;
DisplayItem::Type m_type;
};

Powered by Google App Engine
This is Rietveld 408576698