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

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

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile 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/ClipDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
index df1fef7d5c159cf73ee8c07e88f9cc48eb9e6fee..eede2c21ada2e42a84a439773d2a38ab777c8847 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
@@ -17,14 +17,14 @@ namespace blink {
class PLATFORM_EXPORT ClipDisplayItem final : public PairedBeginDisplayItem {
public:
- ClipDisplayItem(const DisplayItemClientWrapper& client, Type type, const IntRect& clipRect)
+ ClipDisplayItem(const DisplayItemClient& client, Type type, const IntRect& clipRect)
: PairedBeginDisplayItem(client, type, sizeof(*this))
, m_clipRect(clipRect)
{
ASSERT(isClipType(type));
}
- ClipDisplayItem(const DisplayItemClientWrapper& client, Type type, const IntRect& clipRect, Vector<FloatRoundedRect>& roundedRectClips)
+ ClipDisplayItem(const DisplayItemClient& client, Type type, const IntRect& clipRect, Vector<FloatRoundedRect>& roundedRectClips)
: ClipDisplayItem(client, type, clipRect)
{
m_roundedRectClips.swap(roundedRectClips);
@@ -52,7 +52,7 @@ private:
class PLATFORM_EXPORT EndClipDisplayItem final : public PairedEndDisplayItem {
public:
- EndClipDisplayItem(const DisplayItemClientWrapper& client, Type type)
+ EndClipDisplayItem(const DisplayItemClient& client, Type type)
: PairedEndDisplayItem(client, type, sizeof(*this))
{
ASSERT(isEndClipType(type));

Powered by Google App Engine
This is Rietveld 408576698