Index: mojo/shell/shell_test_helper.cc |
diff --git a/mojo/shell/shell_test_helper.cc b/mojo/shell/shell_test_helper.cc |
index f79e512faf9a26478c86d7d91eb620b3b35a8ba4..37f8ed2e6ca871be00b76a4e5d9e9f11bacdce13 100644 |
--- a/mojo/shell/shell_test_helper.cc |
+++ b/mojo/shell/shell_test_helper.cc |
@@ -28,8 +28,8 @@ void ShellTestHelper::Init() { |
test_api_.reset(new ServiceManager::TestAPI(context_->service_manager())); |
base::FilePath service_dir; |
CHECK(PathService::Get(base::DIR_MODULE, &service_dir)); |
- context_->mojo_url_resolver()->set_origin( |
- net::FilePathToFileURL(service_dir).spec()); |
+ context_->mojo_url_resolver()->SetBaseURL( |
+ net::FilePathToFileURL(service_dir)); |
} |
void ShellTestHelper::SetLoaderForURL(scoped_ptr<ServiceLoader> loader, |