summaryrefslogtreecommitdiffstats
path: root/cc/TiledLayerChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cc/TiledLayerChromium.cpp')
-rw-r--r--cc/TiledLayerChromium.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/TiledLayerChromium.cpp b/cc/TiledLayerChromium.cpp
index 1ab8f62..3b72f19 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());
}
}
}