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

Side by Side Diff: remoting/codec/video_decoder_verbatim.h

Issue 13642007: Rewrite scoped_array<T> to scoped_ptr<T[]> in remoting/, Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Manually rewrite Win files. Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/codec/codec_test.cc ('k') | remoting/codec/video_encoder_vp8.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ 5 #ifndef REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ 6 #define REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "remoting/codec/video_decoder.h" 10 #include "remoting/codec/video_decoder.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // The current row in the rect that we are updaing. 58 // The current row in the rect that we are updaing.
59 int row_y_; 59 int row_y_;
60 60
61 // The region updated that hasn't been copied to the screen yet. 61 // The region updated that hasn't been copied to the screen yet.
62 SkRegion updated_region_; 62 SkRegion updated_region_;
63 63
64 // Size of the remote screen. 64 // Size of the remote screen.
65 SkISize screen_size_; 65 SkISize screen_size_;
66 66
67 // The bitmap holding the remote screen bits. 67 // The bitmap holding the remote screen bits.
68 scoped_array<uint8> screen_buffer_; 68 scoped_ptr<uint8[]> screen_buffer_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim); 70 DISALLOW_COPY_AND_ASSIGN(VideoDecoderVerbatim);
71 }; 71 };
72 72
73 } // namespace remoting 73 } // namespace remoting
74 74
75 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_ 75 #endif // REMOTING_CODEC_VIDEO_DECODER_VERBATIM_H_
OLDNEW
« no previous file with comments | « remoting/codec/codec_test.cc ('k') | remoting/codec/video_encoder_vp8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698