Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3045)

Unified Diff: cc/CCThreadedTest.cpp

Issue 11047032: cc: Use syntax sugar 'make_scoped_ptr' in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCTextureDrawQuad.cpp ('k') | cc/CCTileDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCThreadedTest.cpp
diff --git a/cc/CCThreadedTest.cpp b/cc/CCThreadedTest.cpp
index 3a07759d26d6d90713374504109a898dd499df6a..af3e12c0914989c00a0dfa86043fec669db79de8 100644
--- a/cc/CCThreadedTest.cpp
+++ b/cc/CCThreadedTest.cpp
@@ -92,7 +92,7 @@ scoped_ptr<WebCompositorOutputSurface> TestHooks::createOutputSurface()
scoped_ptr<MockLayerTreeHostImpl> MockLayerTreeHostImpl::create(TestHooks* testHooks, const CCLayerTreeSettings& settings, CCLayerTreeHostImplClient* client)
{
- return scoped_ptr<MockLayerTreeHostImpl>(new MockLayerTreeHostImpl(testHooks, settings, client));
+ return make_scoped_ptr(new MockLayerTreeHostImpl(testHooks, settings, client));
}
void MockLayerTreeHostImpl::beginCommit()
@@ -560,4 +560,4 @@ void CCThreadedTest::runTest(bool threaded)
Platform::current()->compositorSupport()->shutdown();
}
-} // namespace WebKitTests
+} // namespace WebKitTests
« no previous file with comments | « cc/CCTextureDrawQuad.cpp ('k') | cc/CCTileDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698