summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/drive_file_system_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/drive/drive_file_system_util.cc')
-rw-r--r--chrome/browser/chromeos/drive/drive_file_system_util.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/drive/drive_file_system_util.cc b/chrome/browser/chromeos/drive/drive_file_system_util.cc
index ba8ff6d..7115b6d 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_util.cc
+++ b/chrome/browser/chromeos/drive/drive_file_system_util.cc
@@ -98,8 +98,7 @@ void GetHostedDocumentURLBlockingThread(const FilePath& drive_cache_path,
}
void OpenEditURLUIThread(Profile* profile, const GURL* edit_url) {
- Browser* browser = chrome::FindLastActiveWithProfile(profile,
- chrome::HOST_DESKTOP_TYPE_ASH);
+ Browser* browser = chrome::FindLastActiveWithProfile(profile);
if (browser) {
browser->OpenURL(content::OpenURLParams(*edit_url, content::Referrer(),
CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false));