Index: content/renderer/pepper/pepper_platform_context_3d_impl.cc |
diff --git a/content/renderer/pepper/pepper_platform_context_3d_impl.cc b/content/renderer/pepper/pepper_platform_context_3d_impl.cc |
index 8e2f96abf6f2de12b1424b931ab4db3ee9cd912e..90395d8848e9acdd93797c7bd6068d6c54577448 100644 |
--- a/content/renderer/pepper/pepper_platform_context_3d_impl.cc |
+++ b/content/renderer/pepper/pepper_platform_context_3d_impl.cc |
@@ -51,7 +51,8 @@ PlatformContext3DImpl::~PlatformContext3DImpl() { |
channel_ = NULL; |
} |
-bool PlatformContext3DImpl::Init(const int32* attrib_list) { |
+bool PlatformContext3DImpl::Init(const int32* attrib_list, |
+ CommandBufferProxy* share_buffer) { |
// Ignore initializing more than once. |
if (command_buffer_) |
return true; |
@@ -116,7 +117,7 @@ bool PlatformContext3DImpl::Init(const int32* attrib_list) { |
command_buffer_ = channel_->CreateOffscreenCommandBuffer( |
surface_size, |
- NULL, |
+ share_buffer, |
"*", |
attribs, |
GURL::EmptyGURL(), |