summaryrefslogtreecommitdiffstats
path: root/cc/CCDelegatedRendererLayerImplTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cc/CCDelegatedRendererLayerImplTest.cpp')
-rw-r--r--cc/CCDelegatedRendererLayerImplTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/CCDelegatedRendererLayerImplTest.cpp b/cc/CCDelegatedRendererLayerImplTest.cpp
index 2796974..41f740b 100644
--- a/cc/CCDelegatedRendererLayerImplTest.cpp
+++ b/cc/CCDelegatedRendererLayerImplTest.cpp
@@ -54,9 +54,9 @@ public:
virtual void releaseContentsTexturesOnImplThread() OVERRIDE { }
protected:
- PassOwnPtr<CCGraphicsContext> createContext()
+ scoped_ptr<CCGraphicsContext> createContext()
{
- return FakeWebCompositorOutputSurface::create(adoptPtr(new FakeWebGraphicsContext3D));
+ return FakeWebCompositorOutputSurface::create(adoptPtr(new FakeWebGraphicsContext3D)).PassAs<CCGraphicsContext>();
}
DebugScopedSetImplThread m_alwaysImplThread;