| Index: mojo/services/window_manager/window_manager_api_unittest.cc
|
| diff --git a/mojo/services/window_manager/window_manager_api_unittest.cc b/mojo/services/window_manager/window_manager_api_unittest.cc
|
| index 683be56bbd43d942864c02433a76be8fbdf91907..20b782cc4d247d246efaa0077cd34cc3d5c2ce0d 100644
|
| --- a/mojo/services/window_manager/window_manager_api_unittest.cc
|
| +++ b/mojo/services/window_manager/window_manager_api_unittest.cc
|
| @@ -78,10 +78,9 @@ class TestApplicationLoader : public ApplicationLoader,
|
| // Overridden from ApplicationLoader:
|
| void Load(ApplicationManager* application_manager,
|
| const GURL& url,
|
| + ScopedMessagePipeHandle shell_handle,
|
| scoped_refptr<LoadCallbacks> callbacks) override {
|
| - ScopedMessagePipeHandle shell_handle = callbacks->RegisterApplication();
|
| - if (!shell_handle.is_valid())
|
| - return;
|
| + ASSERT_TRUE(shell_handle.is_valid());
|
| scoped_ptr<ApplicationImpl> app(
|
| new ApplicationImpl(this, shell_handle.Pass()));
|
| apps_.push_back(app.release());
|
|
|