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

Unified Diff: content/browser/renderer_host/image_transport_factory_android.cc

Issue 23130004: Enforce a memory limit on MappedMemoryManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix another namespace error Created 7 years, 4 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
diff --git a/content/browser/renderer_host/image_transport_factory_android.cc b/content/browser/renderer_host/image_transport_factory_android.cc
index 39071c9bec3fb24c3988d43741e9ed22ad6e8eaf..bc0d365d2491af6449dc0f386b6af209145d4637 100644
--- a/content/browser/renderer_host/image_transport_factory_android.cc
+++ b/content/browser/renderer_host/image_transport_factory_android.cc
@@ -128,7 +128,9 @@ CmdBufferImageTransportFactory::CmdBufferImageTransportFactory() {
64 * 1024, // starting buffer size
64 * 1024, // min buffer size
std::min(3 * full_screen_texture_size_in_bytes,
- kDefaultMaxTransferBufferSize));
+ kDefaultMaxTransferBufferSize),
+ WebGraphicsContext3DCommandBufferImpl::kNoLimit
+ );
if (context_->makeContextCurrent())
context_->pushGroupMarkerEXT(

Powered by Google App Engine
This is Rietveld 408576698