| Index: cc/CCLayerTreeHostTest.cpp
|
| diff --git a/cc/CCLayerTreeHostTest.cpp b/cc/CCLayerTreeHostTest.cpp
|
| index b2838b05ef58c439f79784495edddcf2a71aa4c4..129fa613579f66d72857015f5427280eaca8333f 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;
|
|
|