| Index: mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
|
| diff --git a/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc b/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
|
| index 6c67dae02a24c048b77a448c25e3fc0c38a9f5be..375765d5fbf880a56c9b41fb9e92ca394b524154 100644
|
| --- a/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
|
| +++ b/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
|
| @@ -63,12 +63,11 @@ class ConnectApplicationLoader : public ApplicationLoader,
|
| // Overridden from ApplicationLoader:
|
| void Load(ApplicationManager* manager,
|
| const GURL& url,
|
| - scoped_refptr<LoadCallbacks> callbacks) override {
|
| - ScopedMessagePipeHandle shell_handle = callbacks->RegisterApplication();
|
| - if (!shell_handle.is_valid())
|
| - return;
|
| - scoped_ptr<ApplicationImpl> app(new ApplicationImpl(this,
|
| - shell_handle.Pass()));
|
| + ScopedMessagePipeHandle shell_handle,
|
| + LoadCallback callback) override {
|
| + ASSERT_TRUE(shell_handle.is_valid());
|
| + scoped_ptr<ApplicationImpl> app(
|
| + new ApplicationImpl(this, shell_handle.Pass()));
|
| apps_.push_back(app.release());
|
| }
|
|
|
|
|