Index: cc/image_layer_updater.h |
diff --git a/cc/image_layer_updater.h b/cc/image_layer_updater.h |
index fcb2efc9a2ff65b9d80b0a1c43a7af049db8d176..938d07a5974b8fcd053bc62ced8bfdf52c5bf4e3 100644 |
--- a/cc/image_layer_updater.h |
+++ b/cc/image_layer_updater.h |
@@ -6,6 +6,7 @@ |
#define CC_IMAGE_LAYER_UPDATER_H_ |
#include "cc/layer_updater.h" |
+#include "third_party/skia/include/core/SkBitmap.h" |
namespace cc { |
@@ -15,11 +16,8 @@ class ImageLayerUpdater : public LayerUpdater { |
public: |
class Resource : public LayerUpdater::Resource { |
public: |
- Resource(ImageLayerUpdater* updater, scoped_ptr<PrioritizedResource> texture) |
- : LayerUpdater::Resource(texture.Pass()) |
- , m_updater(updater) |
- { |
- } |
+ Resource(ImageLayerUpdater* updater, scoped_ptr<PrioritizedResource> texture); |
+ virtual ~Resource(); |
virtual void update(ResourceUpdateQueue&, const gfx::Rect& sourceRect, const gfx::Vector2d& destOffset, bool partialUpdate, RenderingStats&) OVERRIDE; |