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

Unified Diff: content/public/common/context_menu_params.cc

Issue 128413002: Initialize all members of ContextMenuParams in the ctor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/context_menu_params.cc
diff --git a/content/public/common/context_menu_params.cc b/content/public/common/context_menu_params.cc
index 9d5438aa99f6d06b13d251608b3cbe8b140a8aa5..e125263877c728dc54ccd1f62888c062da33b225 100644
--- a/content/public/common/context_menu_params.cc
+++ b/content/public/common/context_menu_params.cc
@@ -32,7 +32,8 @@ ContextMenuParams::ContextMenuParams()
writing_direction_right_to_left(
blink::WebContextMenuData::CheckableMenuItemEnabled),
edit_flags(0),
- referrer_policy(blink::WebReferrerPolicyDefault) {
+ referrer_policy(blink::WebReferrerPolicyDefault),
+ source_type(ui::MENU_SOURCE_NONE) {
}
ContextMenuParams::~ContextMenuParams() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698