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

Unified Diff: chrome_frame/test/net/fake_external_tab.cc

Issue 11571089: [Profiles, Fixit] Removing usage of GetDefaultProfile from chrome_frame code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasing Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/net/fake_external_tab.cc
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 4c9fd19d31d05a98e8b4a295e1353be21201090c..c2640ca32fd8fcb0c91d436ec8cff7af0273ac81 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -778,7 +778,7 @@ bool CFUrlRequestUnittestRunner::ProcessSingletonNotificationCallback(
switches::kAutomationClientChannelID);
EXPECT_FALSE(channel_id.empty());
- Profile* profile = g_browser_process->profile_manager()->GetDefaultProfile(
+ Profile* profile = g_browser_process->profile_manager()->GetLastUsedProfile(
fake_chrome_->user_data());
AutomationProviderList* list = g_browser_process->GetAutomationProviderList();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698