| Index: extensions/shell/test/shell_apitest.cc
|
| diff --git a/extensions/shell/test/shell_apitest.cc b/extensions/shell/test/shell_apitest.cc
|
| index b60bf5b1d1fa32adc2a27580c65c7bf355b75895..f1ea7a2fb4774ff664a0c9ffabc85fd160d82188 100644
|
| --- a/extensions/shell/test/shell_apitest.cc
|
| +++ b/extensions/shell/test/shell_apitest.cc
|
| @@ -24,11 +24,11 @@ bool ShellApiTest::RunAppTest(const std::string& app_dir) {
|
| test_data_dir = test_data_dir.AppendASCII(app_dir);
|
| ResultCatcher catcher;
|
|
|
| - bool loaded = extension_system_->LoadApp(test_data_dir);
|
| - if (!loaded)
|
| + const Extension* extension = extension_system_->LoadApp(test_data_dir);
|
| + if (!extension)
|
| return false;
|
|
|
| - extension_system_->LaunchApp();
|
| + extension_system_->LaunchApp(extension->id());
|
|
|
| if (!catcher.GetNextResult()) {
|
| message_ = catcher.message();
|
|
|