Index: mojo/shell/desktop/mojo_main.cc |
diff --git a/mojo/shell/desktop/mojo_main.cc b/mojo/shell/desktop/mojo_main.cc |
index de2d0d4906eebba2883ffbb21c6c5b0b23316c7f..938b95e85a28de08c766f048090989c5392cf3f4 100644 |
--- a/mojo/shell/desktop/mojo_main.cc |
+++ b/mojo/shell/desktop/mojo_main.cc |
@@ -33,8 +33,8 @@ int main(int argc, char** argv) { |
const base::CommandLine& command_line = |
*base::CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kOrigin)) { |
- shell_context.mojo_url_resolver()->set_origin( |
- command_line.GetSwitchValueASCII(switches::kOrigin)); |
+ shell_context.mojo_url_resolver()->SetBaseURL( |
+ GURL(command_line.GetSwitchValueASCII(switches::kOrigin))); |
} |
std::vector<GURL> app_urls; |