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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc

Issue 113653004: Removing GitDefaultProfile occurences from the remaining WebUI areas (mobile & test) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/ui/webui/extensions/extension_settings_browsertest.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc b/chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc
index adf9e1feb4daf47d95c9472bca731c0e8897eea2..7af69c13ef8c864ea84031a4880efe5d746e9327 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc
@@ -35,8 +35,8 @@ ExtensionSettingsUIBrowserTest::~ExtensionSettingsUIBrowserTest() {}
Profile* ExtensionSettingsUIBrowserTest::GetProfile() {
if (!profile_) {
- profile_ =
- browser() ? browser()->profile() : ProfileManager::GetDefaultProfile();
+ profile_ = browser() ? browser()->profile() :
+ ProfileManager::GetActiveUserProfile();
}
return profile_;
}

Powered by Google App Engine
This is Rietveld 408576698