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

Unified Diff: cc/test/fake_content_layer_client.cc

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Rebase Created 3 years, 9 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: cc/test/fake_content_layer_client.cc
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc
index 906ee5e2148c6fee8c9facad3691015e8c340948..a5702fef5e4d53ed49bdbd6d240aece706995143 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -71,8 +71,7 @@ FakeContentLayerClient::PaintContentsToDisplayList(
}
PaintCanvas* canvas =
recorder.beginRecording(it->image->width(), it->image->height());
- canvas->drawImage(it->image.get(), it->point.x(), it->point.y(),
- &it->flags);
+ canvas->drawImage(it->image, it->point.x(), it->point.y(), &it->flags);
display_list->CreateAndAppendDrawingItem<DrawingDisplayItem>(
PaintableRegion(), recorder.finishRecordingAsPicture());
if (!it->transform.IsIdentity()) {

Powered by Google App Engine
This is Rietveld 408576698