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

Unified Diff: gpu/command_buffer/service/command_buffer_service.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
Index: gpu/command_buffer/service/command_buffer_service.cc
diff --git a/gpu/command_buffer/service/command_buffer_service.cc b/gpu/command_buffer/service/command_buffer_service.cc
index 4047d1c94081a91a2502e3cfff79b404142f814c..f196259b77386746e1af8282e83d291f362bd1ac 100644
--- a/gpu/command_buffer/service/command_buffer_service.cc
+++ b/gpu/command_buffer/service/command_buffer_service.cc
@@ -20,7 +20,8 @@ CommandBufferService::CommandBufferService()
put_offset_(0),
token_(0),
generation_(0),
- error_(error::kNoError) {
+ error_(error::kNoError),
+ context_lost_reason_(error::kUnknown) {
// Element zero is always NULL.
registered_objects_.push_back(Buffer());
}

Powered by Google App Engine
This is Rietveld 408576698