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

Unified Diff: cc/test/fake_recording_source.h

Issue 2857923004: cc: Keep PaintImage in DrawImage. (Closed)
Patch Set: .. Created 3 years, 7 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/test/fake_content_layer_client.cc ('k') | cc/tiles/checker_image_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_recording_source.h
diff --git a/cc/test/fake_recording_source.h b/cc/test/fake_recording_source.h
index 907111284b8172d9322bba77f21d7991eac70982..cd610718572c715d2d750545962a43cc832d5b70 100644
--- a/cc/test/fake_recording_source.h
+++ b/cc/test/fake_recording_source.h
@@ -102,6 +102,9 @@ class FakeRecordingSource : public RecordingSource {
void add_draw_image(sk_sp<SkImage> image, const gfx::Point& point) {
client_.add_draw_image(std::move(image), point, default_flags_);
}
+ void add_draw_image(PaintImage image, const gfx::Point& point) {
+ client_.add_draw_image(std::move(image), point, default_flags_);
+ }
void add_draw_image_with_transform(sk_sp<SkImage> image,
const gfx::Transform& transform) {
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | cc/tiles/checker_image_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698