Index: shell/dynamic_application_loader_unittest.cc |
diff --git a/shell/dynamic_application_loader_unittest.cc b/shell/dynamic_application_loader_unittest.cc |
index 2ce00628fa6a77e8d503da2d7481856454245134..729d1e6b069a8baf59fdac8f6d3cea414801e7d0 100644 |
--- a/shell/dynamic_application_loader_unittest.cc |
+++ b/shell/dynamic_application_loader_unittest.cc |
@@ -35,7 +35,7 @@ class TestDynamicServiceRunner : public DynamicServiceRunner { |
base::MessageLoop::current()->Quit(); |
} |
void Start(const base::FilePath& app_path, |
- ScopedMessagePipeHandle service_handle, |
+ InterfaceRequest<Application> application_request, |
const base::Closure& app_completed_callback) override { |
state_->runner_was_started = true; |
} |
@@ -82,9 +82,8 @@ TEST_F(DynamicApplicationLoaderTest, DoesNotExist) { |
ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); |
base::FilePath nonexistent_file(FILE_PATH_LITERAL("nonexistent.txt")); |
GURL url(FilePathToFileURL(temp_dir.path().Append(nonexistent_file))); |
- ShellPtr shell; |
- auto throwaway = GetProxy(&shell); |
- loader_->Load(context_.application_manager(), url, shell.Pass(), |
+ ApplicationPtr application; |
+ loader_->Load(context_.application_manager(), url, GetProxy(&application), |
ApplicationLoader::SimpleLoadCallback()); |
EXPECT_FALSE(state_.runner_was_created); |
EXPECT_FALSE(state_.runner_was_started); |