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

Unified Diff: cc/tiles/decoded_image_tracker.cc

Issue 2926513003: Use PaintImage in cc QueueImageDecode
Patch Set: rebase Created 3 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
« no previous file with comments | « cc/tiles/checker_image_tracker_unittest.cc ('k') | cc/tiles/decoded_image_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/decoded_image_tracker.cc
diff --git a/cc/tiles/decoded_image_tracker.cc b/cc/tiles/decoded_image_tracker.cc
index b5c9c15b1ae189bc313f13cb518ebaa432c4361f..57a9ecf20a617db568eb173d3632fbc54762b683 100644
--- a/cc/tiles/decoded_image_tracker.cc
+++ b/cc/tiles/decoded_image_tracker.cc
@@ -22,8 +22,8 @@ void DecodedImageTracker::QueueImageDecode(
// Queue the decode in the image controller, but switch out the callback for
// our own.
image_controller_->QueueImageDecode(
- image.sk_image(), base::Bind(&DecodedImageTracker::ImageDecodeFinished,
- base::Unretained(this), callback));
+ image, base::Bind(&DecodedImageTracker::ImageDecodeFinished,
+ base::Unretained(this), callback));
}
void DecodedImageTracker::NotifyFrameFinished() {
« no previous file with comments | « cc/tiles/checker_image_tracker_unittest.cc ('k') | cc/tiles/decoded_image_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698