Index: android_webview/browser/hardware_renderer.cc |
diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc |
index 6a3d54bf4fbb5079bf2b758d0828e21d28e897a5..c2d1a6d8a520ee8c2a34013d00e5d83b03854c9f 100644 |
--- a/android_webview/browser/hardware_renderer.cc |
+++ b/android_webview/browser/hardware_renderer.cc |
@@ -53,16 +53,17 @@ scoped_refptr<cc::ContextProvider> CreateContext( |
attributes, &attribs_for_gles2); |
attribs_for_gles2.lose_context_when_out_of_memory = true; |
- scoped_ptr<gpu::GLInProcessContext> context( |
- gpu::GLInProcessContext::Create(service, |
- surface, |
- surface->IsOffscreen(), |
- gfx::kNullAcceleratedWidget, |
- surface->GetSize(), |
- share_context, |
- false /* share_resources */, |
- attribs_for_gles2, |
- gpu_preference)); |
+ scoped_ptr<gpu::GLInProcessContext> context(gpu::GLInProcessContext::Create( |
+ service, |
+ surface, |
+ surface->IsOffscreen(), |
+ gfx::kNullAcceleratedWidget, |
+ surface->GetSize(), |
+ share_context, |
+ false /* share_resources */, |
+ attribs_for_gles2, |
+ gpu_preference, |
+ gpu::GLInProcessContextSharedMemoryLimits())); |
DCHECK(context.get()); |
return webkit::gpu::ContextProviderInProcess::Create( |