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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.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/ClipPathDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
index 79df5b398e8f59e2674b845188ab4fb38da9fece..3455898cddab8e941509f6e7b228d8a61d1f916b 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
@@ -15,7 +15,7 @@ namespace blink {
class PLATFORM_EXPORT BeginClipPathDisplayItem final : public PairedBeginDisplayItem {
public:
- BeginClipPathDisplayItem(const DisplayItemClientWrapper& client, const Path& clipPath)
+ BeginClipPathDisplayItem(const DisplayItemClient& client, const Path& clipPath)
: PairedBeginDisplayItem(client, BeginClipPath, sizeof(*this))
, m_clipPath(clipPath.skPath()) { }
@@ -38,7 +38,7 @@ private:
class PLATFORM_EXPORT EndClipPathDisplayItem final : public PairedEndDisplayItem {
public:
- EndClipPathDisplayItem(const DisplayItemClientWrapper& client)
+ EndClipPathDisplayItem(const DisplayItemClient& client)
: PairedEndDisplayItem(client, EndClipPath, sizeof(*this)) { }
void replay(GraphicsContext&) const override;

Powered by Google App Engine
This is Rietveld 408576698