Index: mojo/shell/shell_test_base.cc |
diff --git a/mojo/shell/shell_test_base.cc b/mojo/shell/shell_test_base.cc |
index d80b454686fa615716a1d8161842b8fd23bd0a67..24cf859777b80617822bc999363553706b14b1c5 100644 |
--- a/mojo/shell/shell_test_base.cc |
+++ b/mojo/shell/shell_test_base.cc |
@@ -26,18 +26,8 @@ ShellTestBase::~ShellTestBase() { |
ScopedMessagePipeHandle ShellTestBase::ConnectToService( |
const GURL& application_url, |
const std::string& service_name) { |
- base::FilePath base_dir; |
- CHECK(PathService::Get(base::DIR_EXE, &base_dir)); |
- // On android, the library is bundled with the app. |
-#if defined(OS_ANDROID) |
- // On Android, the library is bundled with the app. |
base::FilePath service_dir; |
CHECK(PathService::Get(base::DIR_MODULE, &service_dir)); |
-#else |
- // On other platforms, "loadable modules" are dumped beside the executables. |
- base::FilePath service_dir; |
- CHECK(PathService::Get(base::DIR_EXE, &service_dir)); |
-#endif |
shell_context_.mojo_url_resolver()->set_origin( |
net::FilePathToFileURL(service_dir).spec()); |