Index: cc/LayerTextureUpdater.h |
diff --git a/cc/LayerTextureUpdater.h b/cc/LayerTextureUpdater.h |
index a8e649d661da69ee1377b2a78dd627c3a12bd094..0bc867e7efc5f6ee79aa216c570e987f114c5df7 100644 |
--- a/cc/LayerTextureUpdater.h |
+++ b/cc/LayerTextureUpdater.h |
@@ -24,14 +24,14 @@ public: |
// Allows texture uploaders to store per-tile resources. |
class Texture { |
public: |
- virtual ~Texture() { } |
+ virtual ~Texture(); |
CCPrioritizedTexture* texture() { return m_texture.get(); } |
void swapTextureWith(OwnPtr<CCPrioritizedTexture>& texture) { m_texture.swap(texture); } |
virtual void prepareRect(const IntRect& /* sourceRect */, CCRenderingStats&) { } |
virtual void updateRect(CCResourceProvider*, const IntRect& sourceRect, const IntSize& destOffset) = 0; |
protected: |
- explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture) : m_texture(texture) { } |
+ explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture); |
private: |
OwnPtr<CCPrioritizedTexture> m_texture; |