Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 0dc52fcaf88e98e2dcf3b4a4858b357f8210f0ad..22af34422e6a14abf44e099ea6c1ee2817285a18 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -73,6 +73,7 @@ |
#include "content/browser/renderer_host/media/media_stream_manager.h" |
#include "content/browser/renderer_host/render_process_host_impl.h" |
#include "content/browser/service_manager/service_manager_context.h" |
+#include "content/browser/site_instance_impl.h" |
#include "content/browser/speech/speech_recognition_manager_impl.h" |
#include "content/browser/startup_task_runner.h" |
#include "content/browser/utility_process_host_impl.h" |
@@ -614,6 +615,11 @@ void BrowserMainLoop::EarlyInitialization() { |
} |
} |
+ if (parsed_command_line_.HasSwitch(switches::kIsolateOrigins)) { |
+ SiteInstanceImpl::AddIsolatedOriginsFromCommandLine( |
+ parsed_command_line_.GetSwitchValueASCII(switches::kIsolateOrigins)); |
+ } |
+ |
if (parts_) |
parts_->PostEarlyInitialization(); |
} |