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..dd37b83ea0e8e2bab748b438fd934d9ebf2932ff 100644 |
--- a/mojo/shell/desktop/mojo_main.cc |
+++ b/mojo/shell/desktop/mojo_main.cc |
@@ -33,7 +33,7 @@ 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( |
+ shell_context.mojo_url_resolver()->SetOrigin( |
command_line.GetSwitchValueASCII(switches::kOrigin)); |
} |