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

Unified Diff: Source/platform/graphics/paint/DisplayItemListTest.cpp

Issue 1203343002: WIP for display item list backed by ListContainer Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months 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: Source/platform/graphics/paint/DisplayItemListTest.cpp
diff --git a/Source/platform/graphics/paint/DisplayItemListTest.cpp b/Source/platform/graphics/paint/DisplayItemListTest.cpp
index ef71fb1d9fd2d9171ef35488e136f555b821a084..e4ff3523cf6b41d921e85cfa9c5737620a3e94e7 100644
--- a/Source/platform/graphics/paint/DisplayItemListTest.cpp
+++ b/Source/platform/graphics/paint/DisplayItemListTest.cpp
@@ -57,7 +57,11 @@ private:
class TestDisplayItem : public DisplayItem {
public:
- TestDisplayItem(const DisplayItemClientWrapper& client, Type type) : DisplayItem(client, type) { }
+ TestDisplayItem(TestDisplayItemClient& client, Type type)
+ {
+ DisplayItemClientWrapper clientWrapper(client);
+ setClientAndType(clientWrapper, type);
+ }
virtual void replay(GraphicsContext&) override final { ASSERT_NOT_REACHED(); }
virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override final { ASSERT_NOT_REACHED(); }

Powered by Google App Engine
This is Rietveld 408576698