Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: chrome/browser/apps/app_browsertest_util.cc

Issue 2348723002: [Extensions] Remove UIThreadExtensionFunction::DelegateForTests (Closed)
Patch Set: polish Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c97ca843dbea86645af0b0ac156d1eb12c357a73 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() == ExtensionFunction::SUCCEEDED;
}
size_t PlatformAppBrowserTest::GetAppWindowCount() {

Powered by Google App Engine
This is Rietveld 408576698