diff --git a/shell/common/native_mate_converters/message_box_converter.cc b/shell/common/native_mate_converters/message_box_converter.cc index 70b4fb59b7a9..9ecff1ff9059 100644 --- a/shell/common/native_mate_converters/message_box_converter.cc +++ b/shell/common/native_mate_converters/message_box_converter.cc @@ -20,7 +20,7 @@ bool Converter::FromV8( if (!ConvertFromV8(isolate, val, &dict)) return false; dict.Get("window", &out->parent_window); - dict.Get("type", &type); + dict.Get("messageBoxType", &type); out->type = static_cast(type); dict.Get("buttons", &out->buttons); dict.Get("defaultId", &out->default_id);