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

Unified Diff: content/browser/renderer_host/image_transport_factory_android.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
Index: content/browser/renderer_host/image_transport_factory_android.cc
===================================================================
--- content/browser/renderer_host/image_transport_factory_android.cc (revision 267947)
+++ content/browser/renderer_host/image_transport_factory_android.cc (working copy)
@@ -82,14 +82,18 @@
3 * full_screen_texture_size_in_bytes, kDefaultMaxTransferBufferSize);
limits.mapped_memory_reclaim_limit =
WebGraphicsContext3DCommandBufferImpl::kNoLimit;
+#if !defined(OS_CHROMEOS)
bool bind_generates_resource = false;
+#endif
bool lose_context_when_out_of_memory = false;
context_.reset(
new WebGraphicsContext3DCommandBufferImpl(0, // offscreen
url,
gpu_channel_host.get(),
attrs,
+#if !defined(OS_CHROMEOS)
bind_generates_resource,
+#endif
lose_context_when_out_of_memory,
limits,
NULL));

Powered by Google App Engine
This is Rietveld 408576698