Index: third_party/WebKit/Source/platform/graphics/BitmapImage.h |
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h |
index 4ee77dc5dd1ca98b323682b8e4b623957b784bda..90bd353aa33c67e88e204ca2571cfc64de8287fb 100644 |
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h |
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h |
@@ -192,7 +192,7 @@ class PLATFORM_EXPORT BitmapImage final : public Image { |
cached_frame_; // A cached copy of the most recently-accessed frame. |
size_t cached_frame_index_; // Index of the frame that is cached. |
- std::unique_ptr<Timer<BitmapImage>> frame_timer_; |
+ std::unique_ptr<TaskRunnerTimer<BitmapImage>> frame_timer_; |
int repetition_count_; // How many total animation loops we should do. This |
// will be cAnimationNone if this image type is |
// incapable of animation. |
@@ -215,6 +215,8 @@ class PLATFORM_EXPORT BitmapImage final : public Image { |
bool size_available_ : 1; // Whether we can obtain the size of the first |
// image frame from ImageIO yet. |
mutable bool have_frame_count_ : 1; |
+ |
+ RefPtr<WebTaskRunner> task_runner_; |
}; |
DEFINE_IMAGE_TYPE_CASTS(BitmapImage); |