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

Side by Side Diff: remoting/base/decoder_row_based.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppp_mouse_lock_proxy.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/base/decoder_row_based.h" 5 #include "remoting/base/decoder_row_based.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "remoting/base/decompressor.h" 8 #include "remoting/base/decompressor.h"
9 #include "remoting/base/decompressor_zlib.h" 9 #include "remoting/base/decompressor_zlib.h"
10 #include "remoting/base/decompressor_verbatim.h" 10 #include "remoting/base/decompressor_verbatim.h"
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 DecoderRowBased* DecoderRowBased::CreateVerbatimDecoder() { 25 DecoderRowBased* DecoderRowBased::CreateVerbatimDecoder() {
26 return new DecoderRowBased(new DecompressorVerbatim(), 26 return new DecoderRowBased(new DecompressorVerbatim(),
27 VideoPacketFormat::ENCODING_VERBATIM); 27 VideoPacketFormat::ENCODING_VERBATIM);
28 } 28 }
29 29
30 DecoderRowBased::DecoderRowBased(Decompressor* decompressor, 30 DecoderRowBased::DecoderRowBased(Decompressor* decompressor,
31 VideoPacketFormat::Encoding encoding) 31 VideoPacketFormat::Encoding encoding)
32 : state_(kUninitialized), 32 : state_(kUninitialized),
33 clip_(SkIRect::MakeEmpty()),
33 decompressor_(decompressor), 34 decompressor_(decompressor),
34 encoding_(encoding), 35 encoding_(encoding),
35 row_pos_(0), 36 row_pos_(0),
36 row_y_(0) { 37 row_y_(0) {
37 } 38 }
38 39
39 DecoderRowBased::~DecoderRowBased() { 40 DecoderRowBased::~DecoderRowBased() {
40 } 41 }
41 42
42 void DecoderRowBased::Reset() { 43 void DecoderRowBased::Reset() {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 void DecoderRowBased::GetUpdatedRects(RectVector* rects) { 189 void DecoderRowBased::GetUpdatedRects(RectVector* rects) {
189 rects->swap(updated_rects_); 190 rects->swap(updated_rects_);
190 updated_rects_.clear(); 191 updated_rects_.clear();
191 } 192 }
192 193
193 VideoPacketFormat::Encoding DecoderRowBased::Encoding() { 194 VideoPacketFormat::Encoding DecoderRowBased::Encoding() {
194 return encoding_; 195 return encoding_;
195 } 196 }
196 197
197 } // namespace remoting 198 } // namespace remoting
OLDNEW
« no previous file with comments | « ppapi/proxy/ppp_mouse_lock_proxy.cc ('k') | remoting/client/rectangle_update_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698