summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/browser_window_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/browser_window_controller.mm')
-rw-r--r--chrome/browser/ui/cocoa/browser_window_controller.mm8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index bdc2ca8..45f205e 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -146,6 +146,8 @@
// longer indicate that the window is shrinking from an apparent zoomed state)
// and if it's set we continue to constrain the resize.
+using content::OpenURLParams;
+using content::Referrer;
using content::WebContents;
@interface NSWindow (NSPrivateApis)
@@ -1756,8 +1758,10 @@ enum {
if (web_contents) {
GURL helpUrl =
google_util::AppendGoogleLocaleParam(GURL(chrome::kCrashReasonURL));
- web_contents->OpenURL(
- helpUrl, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_LINK);
+ OpenURLParams params(
+ helpUrl, Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_LINK,
+ false);
+ web_contents->OpenURL(params);
}
}
}