| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index fcb540c3318fcf859bd1631eb39534b1fb94a34b..a760f07e3c725f12c42b16193be6f2fab71b56a4 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -23,6 +23,7 @@
|
| #include "base/trace_event/trace_event.h"
|
| #include "content/browser/browser_thread_impl.h"
|
| #include "content/browser/device_sensors/device_inertial_sensor_service.h"
|
| +#include "content/browser/dom_storage/dom_storage_area.h"
|
| #include "content/browser/download/save_file_manager.h"
|
| #include "content/browser/gamepad/gamepad_service.h"
|
| #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
|
| @@ -573,6 +574,13 @@ void BrowserMainLoop::MainMessageLoopStart() {
|
| base::MessageLoop::current()->AddTaskObserver(memory_observer_.get());
|
| }
|
|
|
| + if (parsed_command_line_.HasSwitch(
|
| + switches::kEnableAggressiveDOMStorageFlushing)) {
|
| + TRACE_EVENT0("startup",
|
| + "BrowserMainLoop::Subsystem:EnableAggressiveCommitDelay");
|
| + DOMStorageArea::EnableAggressiveCommitDelay();
|
| + }
|
| +
|
| #if defined(TCMALLOC_TRACE_MEMORY_SUPPORTED)
|
| trace_memory_controller_.reset(new base::trace_event::TraceMemoryController(
|
| base::MessageLoop::current()->message_loop_proxy(),
|
|
|