clang/win: Fix warnings to prepare for building without -Wno-reorder.
This changes constructor initializer list ordering to match field
declaration ordering, except for gtest and breakpad, where the warning
is disabled.
BUG=505304
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/1210013007
Cr-Commit-Position: refs/heads/master@{#337152}
diff --git a/content/shell/browser/shell_javascript_dialog_win.cc b/content/shell/browser/shell_javascript_dialog_win.cc
index 3537122..287ff0d 100644
--- a/content/shell/browser/shell_javascript_dialog_win.cc
+++ b/content/shell/browser/shell_javascript_dialog_win.cc
@@ -84,9 +84,9 @@
const JavaScriptDialogManager::DialogClosedCallback& callback)
: manager_(manager),
callback_(callback),
+ message_type_(message_type),
message_text_(message_text),
- default_prompt_text_(default_prompt_text),
- message_type_(message_type) {
+ default_prompt_text_(default_prompt_text) {
int dialog_type;
if (message_type == JAVASCRIPT_MESSAGE_TYPE_ALERT)
dialog_type = IDD_ALERT;