Index: mojo/shell/desktop/mojo_main.cc |
diff --git a/mojo/shell/desktop/mojo_main.cc b/mojo/shell/desktop/mojo_main.cc |
index ee5880011e9a65d1bb0c9c2917cdb7eee33aeb63..7fc116f1a42603ee43a87652418af5e7d676e9d9 100644 |
--- a/mojo/shell/desktop/mojo_main.cc |
+++ b/mojo/shell/desktop/mojo_main.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "base/at_exit.h" |
+#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/message_loop/message_loop.h" |
@@ -34,7 +35,7 @@ int main(int argc, char** argv) { |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kOrigin)) { |
- shell_context.set_mojo_origin( |
+ shell_context.mojo_url_resolver()->set_origin( |
command_line.GetSwitchValueASCII(switches::kOrigin)); |
} |