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

Unified Diff: chrome/browser/ui/cocoa/applescript/tab_applescript.mm

Issue 8774041: Upgrade all call sites of PageNavigator::OpenURL that pass a referrer to use OpenURLParams (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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 | « chrome/browser/ui/browser.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/applescript/tab_applescript.mm
diff --git a/chrome/browser/ui/cocoa/applescript/tab_applescript.mm b/chrome/browser/ui/cocoa/applescript/tab_applescript.mm
index 04b6ebc5c0fa9a07cf9619dccae33077d366ef80..ab3962168cdef6c31dd31e3e217a168b68603916 100644
--- a/chrome/browser/ui/cocoa/applescript/tab_applescript.mm
+++ b/chrome/browser/ui/cocoa/applescript/tab_applescript.mm
@@ -213,10 +213,12 @@ static NSAppleEventDescriptor* valueToDescriptor(Value* value) {
return;
const GURL& previousURL = entry->virtual_url();
- tabContents_->tab_contents()->OpenURL(url,
- previousURL,
- CURRENT_TAB,
- content::PAGE_TRANSITION_TYPED);
+ tabContents_->tab_contents()->OpenURL(OpenURLParams(
+ url,
+ previousURL,
+ CURRENT_TAB,
+ content::PAGE_TRANSITION_TYPED,
+ false));
}
- (NSString*)title {
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698