summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/filebrowse_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/filebrowse_ui.cc')
-rw-r--r--chrome/browser/dom_ui/filebrowse_ui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/dom_ui/filebrowse_ui.cc b/chrome/browser/dom_ui/filebrowse_ui.cc
index 69d39bc..0436056 100644
--- a/chrome/browser/dom_ui/filebrowse_ui.cc
+++ b/chrome/browser/dom_ui/filebrowse_ui.cc
@@ -732,8 +732,8 @@ void FilebrowseHandler::OpenNewWindow(const Value* value, bool popup) {
browser = BrowserList::GetLastActive();
}
TabContents* contents = browser->AddTabWithURL(
- GURL(path), GURL(), PageTransition::LINK, -1,
- TabStripModel::ADD_SELECTED, NULL, std::string());
+ GURL(path), GURL(), PageTransition::LINK, -1, Browser::ADD_SELECTED,
+ NULL, std::string());
// AddTabWithURL could have picked another Browser instance to create this
// new tab at. So we have to reset the ptr of the browser that we want to
// talk to.
@@ -1100,8 +1100,8 @@ Browser* FileBrowseUI::OpenPopup(Profile* profile,
}
browser->AddTabWithURL(
- GURL(url), GURL(), PageTransition::LINK, -1,
- TabStripModel::ADD_SELECTED, NULL, std::string());
+ GURL(url), GURL(), PageTransition::LINK, -1, Browser::ADD_SELECTED,
+ NULL, std::string());
browser->window()->SetBounds(gfx::Rect(kPopupLeft,
kPopupTop,
width,