Index: shell/shell_test_base.cc |
diff --git a/shell/shell_test_base.cc b/shell/shell_test_base.cc |
index b0c74e0d9c223001f05f20701c1ee1e017eefe9c..6e4f18c47c052f2f18077ea675d6330871542527 100644 |
--- a/shell/shell_test_base.cc |
+++ b/shell/shell_test_base.cc |
@@ -37,14 +37,13 @@ ScopedMessagePipeHandle ShellTestBase::ConnectToService( |
#if !defined(OS_ANDROID) |
void ShellTestBase::SetUpTestApplications() { |
- // Set the MojoURLResolver origin to be the same as the base file path for |
+ // Set the URLResolver origin to be the same as the base file path for |
// local files. This is primarily for test convenience, so that references |
// to unknown mojo: urls that do not have specific local file or custom |
// mappings registered on the URL resolver are treated as shared libraries. |
base::FilePath service_dir; |
CHECK(PathService::Get(base::DIR_MODULE, &service_dir)); |
- shell_context_.mojo_url_resolver()->SetBaseURL( |
- FilePathToFileURL(service_dir)); |
+ shell_context_.url_resolver()->SetMojoBaseURL(FilePathToFileURL(service_dir)); |
} |
#endif |