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

Unified Diff: chrome/browser/profiles/profile_browsertest.cc

Issue 1225093003: mac: Flush the autorelease pool after making a browser window in browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser_test_base
Patch Set: Comments from jhawkins, round two. Created 5 years, 5 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/profiles/profile_browsertest.cc
diff --git a/chrome/browser/profiles/profile_browsertest.cc b/chrome/browser/profiles/profile_browsertest.cc
index 8acaefcacb4cf1248ebe28d4570acd229a6c34f5..362107a95029265dd4becfde7682e071b05694a2 100644
--- a/chrome/browser/profiles/profile_browsertest.cc
+++ b/chrome/browser/profiles/profile_browsertest.cc
@@ -537,8 +537,7 @@ IN_PROC_BROWSER_TEST_F(ProfileBrowserTest,
IN_PROC_BROWSER_TEST_F(ProfileBrowserTest,
URLFetcherUsingMainContextDuringIncognitoTeardown) {
Browser* incognito_browser =
- ui_test_utils::OpenURLOffTheRecord(browser()->profile(),
- GURL("about:blank"));
+ OpenURLOffTheRecord(browser()->profile(), GURL("about:blank"));
RunURLFetcherActiveDuringIncognitoTeardownTest(
incognito_browser, incognito_browser->profile()->GetRequestContext());
}
@@ -546,8 +545,8 @@ IN_PROC_BROWSER_TEST_F(ProfileBrowserTest,
IN_PROC_BROWSER_TEST_F(ProfileBrowserTest,
URLFetcherUsingExtensionContextDuringIncognitoTeardown) {
Browser* incognito_browser =
- ui_test_utils::OpenURLOffTheRecord(browser()->profile(),
- GURL("about:blank"));
+ OpenURLOffTheRecord(browser()->profile(), GURL("about:blank"));
+
RunURLFetcherActiveDuringIncognitoTeardownTest(
incognito_browser,
incognito_browser->profile()->GetRequestContextForExtensions());
« no previous file with comments | « chrome/browser/profiles/host_zoom_map_browsertest.cc ('k') | chrome/browser/ui/webui/webui_webview_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698