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

Unified Diff: cc/test/fake_content_layer_client.cc

Issue 2835373003: Plumb PaintImage to the PictureImageLayer. (Closed)
Patch Set: update Created 3 years, 8 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
« no previous file with comments | « cc/paint/paint_image.cc ('k') | cc/trees/layer_tree_host_pixeltest_blending.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 08f9d8134aaed213c40b7fc69c0d4c783d643b13..dd67f0e44344f72d021cf2f64a468834089fb5b4 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -71,9 +71,8 @@ FakeContentLayerClient::PaintContentsToDisplayList(
}
PaintCanvas* canvas =
recorder.beginRecording(it->image->width(), it->image->height());
- canvas->drawImage(PaintImage(it->image, PaintImage::AnimationType::STATIC,
- PaintImage::CompletionState::DONE),
- it->point.x(), it->point.y(), &it->flags);
+ canvas->drawImage(PaintImage(it->image), it->point.x(), it->point.y(),
+ &it->flags);
display_list->CreateAndAppendDrawingItem<DrawingDisplayItem>(
PaintableRegion(), recorder.finishRecordingAsPicture());
if (!it->transform.IsIdentity()) {
« no previous file with comments | « cc/paint/paint_image.cc ('k') | cc/trees/layer_tree_host_pixeltest_blending.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698