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

Unified Diff: chrome/browser/tabs/tab_strip_model.cc

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months 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 | « chrome/browser/tabs/tab_strip_model.h ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_strip_model.cc
===================================================================
--- chrome/browser/tabs/tab_strip_model.cc (revision 3991)
+++ chrome/browser/tabs/tab_strip_model.cc (working copy)
@@ -334,7 +334,7 @@
TabContents* TabStripModel::AddBlankTab(bool foreground) {
DCHECK(delegate_);
TabContents* contents = delegate_->CreateTabContentsForURL(
- NewTabUIURL(), profile_, PageTransition::TYPED, false, NULL);
+ NewTabUIURL(), GURL(), profile_, PageTransition::TYPED, false, NULL);
AddTabContents(contents, -1, PageTransition::TYPED, foreground);
return contents;
}
@@ -342,7 +342,7 @@
TabContents* TabStripModel::AddBlankTabAt(int index, bool foreground) {
DCHECK(delegate_);
TabContents* contents = delegate_->CreateTabContentsForURL(
- NewTabUIURL(), profile_, PageTransition::LINK, false, NULL);
+ NewTabUIURL(), GURL(), profile_, PageTransition::LINK, false, NULL);
AddTabContents(contents, index, PageTransition::LINK, foreground);
return contents;
}
« no previous file with comments | « chrome/browser/tabs/tab_strip_model.h ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698