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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.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/ScrollDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
index d3b2b08170c47d87d56309b8c29643d3b07b30e1..73ca8c13ac18f58c661f124d38b9452969112c43 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
@@ -14,7 +14,7 @@ namespace blink {
class PLATFORM_EXPORT BeginScrollDisplayItem final : public PairedBeginDisplayItem {
public:
- BeginScrollDisplayItem(const DisplayItemClientWrapper& client, Type type, const IntSize& currentOffset)
+ BeginScrollDisplayItem(const DisplayItemClient& client, Type type, const IntSize& currentOffset)
: PairedBeginDisplayItem(client, type, sizeof(*this))
, m_currentOffset(currentOffset)
{
@@ -43,7 +43,7 @@ private:
class PLATFORM_EXPORT EndScrollDisplayItem final : public PairedEndDisplayItem {
public:
- EndScrollDisplayItem(const DisplayItemClientWrapper& client, Type type)
+ EndScrollDisplayItem(const DisplayItemClient& client, Type type)
: PairedEndDisplayItem(client, type, sizeof(*this))
{
ASSERT(isEndScrollType(type));

Powered by Google App Engine
This is Rietveld 408576698