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

Unified Diff: remoting/codec/codec_test.cc

Issue 1236663002: Allow shaped-desktop hosts to send shape only when it changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: remoting/codec/codec_test.cc
diff --git a/remoting/codec/codec_test.cc b/remoting/codec/codec_test.cc
index 51b52f03ee2358b8073051ba330e61d5bffafde2..2ed3da213555bedd2742ab8bc5df4076cfb6de98 100644
--- a/remoting/codec/codec_test.cc
+++ b/remoting/codec/codec_test.cc
@@ -61,7 +61,7 @@ class VideoDecoderTester {
view_size_(view_size),
strict_(false),
decoder_(decoder),
- frame_(NULL) {
+ frame_(nullptr) {
image_data_.reset(new uint8[
view_size_.width() * view_size_.height() * kBytesPerPixel]);
EXPECT_TRUE(image_data_.get());
@@ -205,10 +205,7 @@ class VideoDecoderTester {
// the message to other subprograms for validaton.
class VideoEncoderTester {
public:
- VideoEncoderTester()
- : decoder_tester_(NULL),
- data_available_(0) {
- }
+ VideoEncoderTester() : decoder_tester_(nullptr), data_available_(0) {}
~VideoEncoderTester() {
EXPECT_GT(data_available_, 0);

Powered by Google App Engine
This is Rietveld 408576698