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

Unified Diff: content/browser/zygote_main_linux.cc

Issue 8965054: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. 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
Index: content/browser/zygote_main_linux.cc
diff --git a/content/browser/zygote_main_linux.cc b/content/browser/zygote_main_linux.cc
index 472b0b8e824570934eb3a6bdbbfdaa99fe774457..1e918b592dd8311599058a6ca5a7009b5ef9fff8 100644
--- a/content/browser/zygote_main_linux.cc
+++ b/content/browser/zygote_main_linux.cc
@@ -94,7 +94,10 @@ static void SELinuxTransitionToTypeOrDie(const char* type) {
class Zygote {
public:
Zygote(int sandbox_flags, content::ZygoteForkDelegate* helper)
- : sandbox_flags_(sandbox_flags), helper_(helper) {
+ : sandbox_flags_(sandbox_flags),
+ helper_(helper),
+ initial_uma_sample_(0),
+ initial_uma_boundary_value_(0) {
if (helper_)
helper_->InitialUMA(&initial_uma_name_,
&initial_uma_sample_,
« no previous file with comments | « content/browser/renderer_host/media/media_stream_dispatcher_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698