| Index: cc/LayerTextureUpdater.h
|
| diff --git a/cc/LayerTextureUpdater.h b/cc/LayerTextureUpdater.h
|
| index 0426bc42655d5f1bf7e7e1e8239ffb2a80c86f86..89fc520475a64d1261bc27a0c7916b1745b55b05 100644
|
| --- a/cc/LayerTextureUpdater.h
|
| +++ b/cc/LayerTextureUpdater.h
|
| @@ -27,15 +27,15 @@ public:
|
| virtual ~Texture();
|
|
|
| CCPrioritizedTexture* texture() { return m_texture.get(); }
|
| - void swapTextureWith(OwnPtr<CCPrioritizedTexture>& texture) { m_texture.swap(texture); }
|
| + void swapTextureWith(scoped_ptr<CCPrioritizedTexture>& texture) { m_texture.swap(texture); }
|
| virtual void prepareRect(const IntRect& /* sourceRect */, CCRenderingStats&) { }
|
| virtual void updateRect(CCResourceProvider*, const IntRect& sourceRect, const IntSize& destOffset) = 0;
|
| virtual bool backingResourceWasEvicted() const;
|
| protected:
|
| - explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture);
|
| + explicit Texture(scoped_ptr<CCPrioritizedTexture> texture);
|
|
|
| private:
|
| - OwnPtr<CCPrioritizedTexture> m_texture;
|
| + scoped_ptr<CCPrioritizedTexture> m_texture;
|
| };
|
|
|
| LayerTextureUpdater()
|
|
|