| Index: cc/TiledLayerChromium.cpp
|
| diff --git a/cc/TiledLayerChromium.cpp b/cc/TiledLayerChromium.cpp
|
| index 1ab8f62eefb5ec6533199b15d342aadcab7ee23d..3b72f19b7f70ce5f8ebedd71c4adc910fcfa0dc8 100644
|
| --- a/cc/TiledLayerChromium.cpp
|
| +++ b/cc/TiledLayerChromium.cpp
|
| @@ -643,12 +643,12 @@ void TiledLayerChromium::setTexturePriorities(const CCPriorityCalculator& priori
|
| tile->dirtyRect = tileRect;
|
| LayerTextureUpdater::Texture* backBuffer = tile->texture();
|
| setPriorityForTexture(visibleContentRect(), tile->dirtyRect, drawsToRoot, smallAnimatedLayer, backBuffer->texture());
|
| - OwnPtr<CCPrioritizedTexture> frontBuffer = CCPrioritizedTexture::create(backBuffer->texture()->textureManager(),
|
| + scoped_ptr<CCPrioritizedTexture> frontBuffer = CCPrioritizedTexture::create(backBuffer->texture()->textureManager(),
|
| backBuffer->texture()->size(),
|
| backBuffer->texture()->format());
|
| // Swap backBuffer into frontBuffer and add it to delete after commit queue.
|
| backBuffer->swapTextureWith(frontBuffer);
|
| - layerTreeHost()->deleteTextureAfterCommit(frontBuffer.release());
|
| + layerTreeHost()->deleteTextureAfterCommit(frontBuffer.Pass());
|
| }
|
| }
|
| }
|
|
|