| Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| index 4f8044b5d0144d2f2e45a86bd51f759da9eac612..b1ff0c7df7c81eed83d35491254df9629f0d07ed 100644
|
| --- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| +++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
|
| @@ -408,7 +408,8 @@ bool GLInProcessContext::Initialize(bool onscreen,
|
| const GURL& active_url,
|
| gfx::GpuPreference gpu_preference) {
|
| // Use one share group for all contexts.
|
| - static scoped_refptr<gfx::GLShareGroup> share_group(new gfx::GLShareGroup);
|
| + CR_DEFINE_STATIC_LOCAL(scoped_refptr<gfx::GLShareGroup>, share_group,
|
| + (new gfx::GLShareGroup));
|
|
|
| DCHECK(size.width() >= 0 && size.height() >= 0);
|
|
|
|
|