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

Unified Diff: webkit/plugins/ppapi/ppb_widget_impl.cc

Issue 7215027: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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: webkit/plugins/ppapi/ppb_widget_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_widget_impl.cc b/webkit/plugins/ppapi/ppb_widget_impl.cc
index c079a744a35c58edb8852ef128cf97fb6f73833a..896ba5fa59b7efeb113e987fe9af4edd50464100 100644
--- a/webkit/plugins/ppapi/ppb_widget_impl.cc
+++ b/webkit/plugins/ppapi/ppb_widget_impl.cc
@@ -70,6 +70,7 @@ const PPB_Widget_Dev ppb_widget = {
PPB_Widget_Impl::PPB_Widget_Impl(PluginInstance* instance)
: Resource(instance) {
+ memset(&location_, 0, sizeof(location_));
}
PPB_Widget_Impl::~PPB_Widget_Impl() {
« net/proxy/proxy_config_service_linux.cc ('K') | « webkit/plugins/ppapi/ppb_audio_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698