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

Unified Diff: content/shell/browser/layout_test/layout_test_javascript_dialog_manager.cc

Issue 1714573002: Remove the ability of webpages to specify strings for the onbeforeunload dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 9 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/layout_test/layout_test_javascript_dialog_manager.cc
diff --git a/content/shell/browser/layout_test/layout_test_javascript_dialog_manager.cc b/content/shell/browser/layout_test/layout_test_javascript_dialog_manager.cc
index 969b680b0cb768de08a7c8fd0e142b57cc4517a8..adea594b59f0cd03df93b693703534863c852c71 100644
--- a/content/shell/browser/layout_test/layout_test_javascript_dialog_manager.cc
+++ b/content/shell/browser/layout_test/layout_test_javascript_dialog_manager.cc
@@ -35,7 +35,6 @@ void LayoutTestJavaScriptDialogManager::RunJavaScriptDialog(
void LayoutTestJavaScriptDialogManager::RunBeforeUnloadDialog(
WebContents* web_contents,
- const base::string16& message_text,
bool is_reload,
const DialogClosedCallback& callback) {
callback.Run(true, base::string16());

Powered by Google App Engine
This is Rietveld 408576698