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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc

Issue 9006028: Coverity fixes for uninitialized vars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing braces Created 9 years 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 | « gpu/command_buffer/service/command_buffer_service.cc ('k') | ppapi/proxy/plugin_var_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc
index 20cfe0c83a5f61e3b237cf104e5ac2cf71596f90..3d32513f37067021ae6f56a39e60818434d6d7c8 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc
@@ -40,7 +40,7 @@ scoped_refptr<PluginResource> PluginResourceTracker::GetExistingResource(
return result->second.resource;
}
-PluginResourceTracker::PluginResourceTracker() {
+PluginResourceTracker::PluginResourceTracker() : last_id_(0) {
}
void PluginResourceTracker::AddResource(PluginResource* resource,
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.cc ('k') | ppapi/proxy/plugin_var_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698