| Index: chrome/browser/apps/app_browsertest_util.cc
|
| diff --git a/chrome/browser/apps/app_browsertest_util.cc b/chrome/browser/apps/app_browsertest_util.cc
|
| index 86b2c8ddb531bc409d5121405411b168a47cc454..7c8c8da48209d2f85a52834b5b04ecda7a9beaa2 100644
|
| --- a/chrome/browser/apps/app_browsertest_util.cc
|
| +++ b/chrome/browser/apps/app_browsertest_util.cc
|
| @@ -179,7 +179,7 @@ bool PlatformAppBrowserTest::RunGetWindowFunctionForExtension(
|
| base::StringPrintf("[%u]", window_id),
|
| browser(),
|
| utils::NONE);
|
| - return function->GetResultList() != NULL;
|
| + return *function->response_type() == ExtensionFunction::SUCCEEDED;
|
| }
|
|
|
| size_t PlatformAppBrowserTest::GetAppWindowCount() {
|
|
|