| Index: cc/CCLayerTreeHostTest.cpp
|
| diff --git a/cc/CCLayerTreeHostTest.cpp b/cc/CCLayerTreeHostTest.cpp
|
| index 1bc669e429608189bed07937b88c94376417b96a..0a79ea2ad7c70e1de160a446d4781c035738565e 100644
|
| --- a/cc/CCLayerTreeHostTest.cpp
|
| +++ b/cc/CCLayerTreeHostTest.cpp
|
| @@ -2401,7 +2401,7 @@ SINGLE_AND_MULTI_THREAD_TEST_F(CCLayerTreeHostTestSurfaceNotAllocatedForLayersOu
|
|
|
| class EvictionTrackingTexture : public LayerTextureUpdater::Texture {
|
| public:
|
| - static PassOwnPtr<EvictionTrackingTexture> create(PassOwnPtr<CCPrioritizedTexture> texture) { return adoptPtr(new EvictionTrackingTexture(texture)); }
|
| + static PassOwnPtr<EvictionTrackingTexture> create(scoped_ptr<CCPrioritizedTexture> texture) { return adoptPtr(new EvictionTrackingTexture(texture.Pass())); }
|
| virtual ~EvictionTrackingTexture() { }
|
|
|
| virtual void updateRect(CCResourceProvider* resourceProvider, const IntRect&, const IntSize&) OVERRIDE
|
| @@ -2414,8 +2414,8 @@ public:
|
| bool updated() const { return m_updated; }
|
|
|
| private:
|
| - explicit EvictionTrackingTexture(PassOwnPtr<CCPrioritizedTexture> texture)
|
| - : LayerTextureUpdater::Texture(texture)
|
| + explicit EvictionTrackingTexture(scoped_ptr<CCPrioritizedTexture> texture)
|
| + : LayerTextureUpdater::Texture(texture.Pass())
|
| , m_updated(false)
|
| { }
|
| bool m_updated;
|
|
|