Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: content/renderer/render_widget.cc

Issue 267683008: ChromeOS only version of r261563 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_common.gypi ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
===================================================================
--- content/renderer/render_widget.cc (revision 267947)
+++ content/renderer/render_widget.cc (working copy)
@@ -2852,7 +2852,9 @@
attributes.noAutomaticFlushes = true;
attributes.depth = false;
attributes.stencil = false;
+#if !defined(OS_CHROMEOS)
bool bind_generates_resources = false;
+#endif
bool lose_context_when_out_of_memory = true;
WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits limits;
#if defined(OS_ANDROID)
@@ -2883,7 +2885,9 @@
GetURLForGraphicsContext3D(),
gpu_channel_host.get(),
attributes,
+#if !defined(OS_CHROMEOS)
bind_generates_resources,
+#endif
lose_context_when_out_of_memory,
limits,
NULL));
« no previous file with comments | « content/content_common.gypi ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698