Index: webkit/common/gpu/context_provider_in_process.cc |
diff --git a/webkit/common/gpu/context_provider_in_process.cc b/webkit/common/gpu/context_provider_in_process.cc |
index 1545d3a598a538f6f6dc652d7e774273ca9479ec..ee439e9e792cb8bc64b4521202e2591b6f9a5223 100644 |
--- a/webkit/common/gpu/context_provider_in_process.cc |
+++ b/webkit/common/gpu/context_provider_in_process.cc |
@@ -5,6 +5,7 @@ |
#include "webkit/common/gpu/context_provider_in_process.h" |
#include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" |
+#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
namespace webkit { |
namespace gpu { |
@@ -60,9 +61,9 @@ bool ContextProviderInProcess::InitializeOnMainThread() { |
attributes.noAutomaticFlushes = true; |
using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl; |
- context3d_.reset( |
+ context3d_ = |
WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext( |
- attributes)); |
+ attributes); |
return context3d_; |
} |