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

Unified Diff: content/shell/browser/shell_javascript_dialog_manager.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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
Index: content/shell/browser/shell_javascript_dialog_manager.cc
diff --git a/content/shell/browser/shell_javascript_dialog_manager.cc b/content/shell/browser/shell_javascript_dialog_manager.cc
index 2ed26848f9946e735ed3dcc0045777845ecff49f..ee737b72835079dd252bcf43c6f295dedad8eaae 100644
--- a/content/shell/browser/shell_javascript_dialog_manager.cc
+++ b/content/shell/browser/shell_javascript_dialog_manager.cc
@@ -24,7 +24,6 @@ ShellJavaScriptDialogManager::~ShellJavaScriptDialogManager() {
void ShellJavaScriptDialogManager::RunJavaScriptDialog(
WebContents* web_contents,
const GURL& origin_url,
- const std::string& accept_lang,
JavaScriptMessageType javascript_message_type,
const base::string16& message_text,
const base::string16& default_prompt_text,
@@ -47,7 +46,7 @@ void ShellJavaScriptDialogManager::RunJavaScriptDialog(
}
base::string16 new_message_text =
- url_formatter::FormatUrl(origin_url, accept_lang) +
+ url_formatter::FormatUrl(origin_url) +
base::ASCIIToUTF16("\n\n") + message_text;
gfx::NativeWindow parent_window = web_contents->GetTopLevelNativeWindow();

Powered by Google App Engine
This is Rietveld 408576698