Index: mojo/services/view_manager/public/cpp/tests/view_manager_unittest.cc |
diff --git a/mojo/services/view_manager/public/cpp/tests/view_manager_unittest.cc b/mojo/services/view_manager/public/cpp/tests/view_manager_unittest.cc |
index d9e4db80da6cabf4d072142e9e130431be242574..50ffd09d124e7a5ec8a0c080269b68849b90edf4 100644 |
--- a/mojo/services/view_manager/public/cpp/tests/view_manager_unittest.cc |
+++ b/mojo/services/view_manager/public/cpp/tests/view_manager_unittest.cc |
@@ -63,11 +63,10 @@ class ConnectApplicationLoader : public ApplicationLoader, |
// Overridden from ApplicationLoader: |
void Load(ApplicationManager* manager, |
const GURL& url, |
- ScopedMessagePipeHandle shell_handle, |
+ ShellPtr shell, |
LoadCallback callback) override { |
- ASSERT_TRUE(shell_handle.is_valid()); |
- scoped_ptr<ApplicationImpl> app( |
- new ApplicationImpl(this, shell_handle.Pass())); |
+ ASSERT_TRUE(shell); |
+ scoped_ptr<ApplicationImpl> app(new ApplicationImpl(this, shell.Pass())); |
apps_.push_back(app.release()); |
} |