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

Unified Diff: cc/tiles/decoded_image_tracker.h

Issue 2929493002: Plumb PaintImage for the img.decode instead of SkImage. (Closed)
Patch Set: 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 | « no previous file | cc/tiles/decoded_image_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/decoded_image_tracker.h
diff --git a/cc/tiles/decoded_image_tracker.h b/cc/tiles/decoded_image_tracker.h
index 01597026138324f5b614a0ae7d649306e7ba7184..bdd31fdca6f5971744872dcee550dc5459910bd7 100644
--- a/cc/tiles/decoded_image_tracker.h
+++ b/cc/tiles/decoded_image_tracker.h
@@ -12,8 +12,6 @@
#include "cc/cc_export.h"
#include "cc/tiles/image_controller.h"
-class SkImage;
-
namespace cc {
// This class is the main interface for the rest of the system to request
@@ -32,7 +30,7 @@ class CC_EXPORT DecodedImageTracker {
// Request that the given image be decoded. This issues a callback upon
// completion. The callback takes a bool indicating whether the decode was
// successful or not.
- void QueueImageDecode(sk_sp<const SkImage> image,
+ void QueueImageDecode(const PaintImage& image,
const base::Callback<void(bool)>& callback);
void NotifyFrameFinished();
« no previous file with comments | « no previous file | cc/tiles/decoded_image_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698