Index: webkit/support/test_webkit_platform_support.cc |
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc |
index 4f33d1503acb593268d2e3d98a9847199f52f128..ee4e1bdc1b61da0a5be79e4aad14590f55980d9f 100644 |
--- a/webkit/support/test_webkit_platform_support.cc |
+++ b/webkit/support/test_webkit_platform_support.cc |
@@ -347,7 +347,7 @@ TestWebKitPlatformSupport::createOffscreenGraphicsContext3D( |
const WebKit::WebGraphicsContext3D::Attributes& attributes) { |
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl; |
return WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext( |
- attributes); |
+ attributes).release(); |
} |
WebKit::WebGraphicsContext3DProvider* TestWebKitPlatformSupport:: |