Index: chrome/browser/printing/print_dialog_cloud.cc |
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc |
index d35d915935f190d17fd9c8c21b075b3fc2203e1a..ccec885f1c769f4fd3d8d9c2aa9919d1b33f0dbf 100644 |
--- a/chrome/browser/printing/print_dialog_cloud.cc |
+++ b/chrome/browser/printing/print_dialog_cloud.cc |
@@ -20,6 +20,8 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/ui/browser_dialogs.h" |
+#include "chrome/browser/ui/browser.h" |
+#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
@@ -665,7 +667,7 @@ void CreateDialogImpl(const FilePath& path_to_file, |
g_browser_process->profile_manager()->GetLoadedProfiles(); |
DCHECK_GT(loaded_profiles.size(), 0U); |
profile = loaded_profiles[0]; |
- browser = BrowserList::GetLastActiveWithProfile(profile); |
+ browser = browser::FindLastActiveWithProfile(profile); |
} |
DCHECK(profile); |
PrefService* pref_service = profile->GetPrefs(); |