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

Unified Diff: chrome/browser/extensions/extension_icon_source_apitest.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/extensions/extension_icon_source_apitest.cc
diff --git a/chrome/browser/extensions/extension_icon_source_apitest.cc b/chrome/browser/extensions/extension_icon_source_apitest.cc
index 9b6426390bdfc22f13ce58ef0a24fb3a2c078357..a79ccc59503c5ef86b3faa2e0a602889b2f44b29 100644
--- a/chrome/browser/extensions/extension_icon_source_apitest.cc
+++ b/chrome/browser/extensions/extension_icon_source_apitest.cc
@@ -92,7 +92,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionIconSourceTest, MAYBE_IconsLoadedIncognito) {
// Test that the icons are loaded and that the chrome://extension-icon
// parameters work correctly.
- Browser* otr_browser = ui_test_utils::OpenURLOffTheRecord(
+ Browser* otr_browser = OpenURLOffTheRecord(
browser()->profile(),
GURL("chrome-extension://gbmgkahjioeacddebbnengilkgbkhodg/index.html"));
ASSERT_TRUE(content::ExecuteScriptAndExtractString(
@@ -103,7 +103,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionIconSourceTest, MAYBE_IconsLoadedIncognito) {
// Verify that the an extension can't load chrome://extension-icon icons
// without the management permission.
- ui_test_utils::OpenURLOffTheRecord(
+ OpenURLOffTheRecord(
browser()->profile(),
GURL("chrome-extension://apocjbpjpkghdepdngjlknfpmabcmlao/index.html"));
ASSERT_TRUE(content::ExecuteScriptAndExtractString(

Powered by Google App Engine
This is Rietveld 408576698