Index: content/browser/compositor/gpu_process_transport_factory.cc |
=================================================================== |
--- content/browser/compositor/gpu_process_transport_factory.cc (revision 267947) |
+++ content/browser/compositor/gpu_process_transport_factory.cc (working copy) |
@@ -428,7 +428,9 @@ |
attrs.stencil = false; |
attrs.antialias = false; |
attrs.noAutomaticFlushes = true; |
+#if !defined(OS_CHROMEOS) |
bool bind_generates_resources = false; |
+#endif |
bool lose_context_when_out_of_memory = true; |
CauseForGpuLaunch cause = |
CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE; |
@@ -445,7 +447,9 @@ |
url, |
gpu_channel_host.get(), |
attrs, |
+#if !defined(OS_CHROMEOS) |
bind_generates_resources, |
+#endif |
lose_context_when_out_of_memory, |
WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits(), |
NULL)); |