Index: webkit/glue/context_menu.cc |
=================================================================== |
--- webkit/glue/context_menu.cc (revision 79632) |
+++ webkit/glue/context_menu.cc (working copy) |
@@ -14,7 +14,19 @@ |
} // namespace webkit_glue |
-ContextMenuParams::ContextMenuParams() { |
+ContextMenuParams::ContextMenuParams() |
+ : media_type(WebKit::WebContextMenuData::MediaTypeNone), |
+ x(0), |
+ y(0), |
+ media_flags(0), |
+ spellcheck_enabled(false), |
+ is_editable(false), |
+#if defined(OS_MACOSX) |
+ writing_direction_default(0), |
+ writing_direction_left_to_right(0), |
+ writing_direction_right_to_left(0), |
+#endif // OS_MACOSX |
+ edit_flags(0) { |
} |
ContextMenuParams::ContextMenuParams(const WebKit::WebContextMenuData& data) |