Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
index 5b79eb6ff2854d121859fba72c4300ac697a203e..8540ae5d52dd28ac786c94e49d70e344af6fb170 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -23,6 +23,7 @@ |
#include "content/public/browser/browser_main_runner.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_switches.h" |
+#include "content/public/common/url_utils.h" |
#include "gpu/command_buffer/client/gl_in_process_context.h" |
#include "gpu/command_buffer/service/in_process_command_buffer.h" |
#include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
@@ -47,6 +48,7 @@ AwMainDelegate::~AwMainDelegate() { |
bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
content::SetContentClient(&content_client_); |
+ content::SetMaxURLChars(20 * 1024 * 1024); |
boliu
2013/12/10 21:35:44
Comment on why we need this.
Kristian Monsen
2013/12/10 21:42:07
Done.
|
gpu::InProcessCommandBuffer::SetGpuMemoryBufferFactory( |
gpu_memory_buffer_factory_.get()); |