Index: cc/tiles/image_decode_controller.h |
diff --git a/cc/tiles/image_decode_controller.h b/cc/tiles/image_decode_controller.h |
index 902927f4a77efa1779dcb3aaa39bcc8e31c55db2..a9f423e95097304f966a0f57310e54b8f37e1037 100644 |
--- a/cc/tiles/image_decode_controller.h |
+++ b/cc/tiles/image_decode_controller.h |
@@ -9,6 +9,7 @@ |
#include "base/memory/ref_counted.h" |
#include "cc/base/cc_export.h" |
#include "cc/raster/tile_task_runner.h" |
+#include "skia/ext/pixel_ref_utils.h" |
#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkPixelRef.h" |
@@ -19,9 +20,10 @@ class ImageDecodeController { |
ImageDecodeController(); |
~ImageDecodeController(); |
- scoped_refptr<ImageDecodeTask> GetTaskForPixelRef(SkPixelRef* pixel_ref, |
- int layer_id, |
- uint64_t prepare_tiles_id); |
+ scoped_refptr<ImageDecodeTask> GetTaskForPixelRef( |
+ const skia::PositionPixelRef& pixel_ref, |
+ int layer_id, |
+ uint64_t prepare_tiles_id); |
// Note that this function has to remain thread safe. |
void DecodePixelRef(SkPixelRef* pixel_ref); |