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

Unified Diff: remoting/base/decoder_verbatim_unittest.cc

Issue 3388024: Fix memory problem in DecoderVerbatim (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
« no previous file with comments | « remoting/base/decoder_verbatim.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/decoder_verbatim_unittest.cc
diff --git a/remoting/base/decoder_verbatim_unittest.cc b/remoting/base/decoder_verbatim_unittest.cc
index 8c00d7696d0c5d6211df9b251af7e92469734e94..af42e2736d8c3fcce3a665693f3ee9a087c97d57 100644
--- a/remoting/base/decoder_verbatim_unittest.cc
+++ b/remoting/base/decoder_verbatim_unittest.cc
@@ -33,8 +33,7 @@ TEST(DecoderVerbatimTest, SimpleDecode) {
begin_rect->set_pixel_format(PixelFormatAscii);
// Prepare the rect data.
- msg->mutable_update_stream_packet()->mutable_rect_data()->set_data(
- kData, sizeof(kData));
+ msg->mutable_update_stream_packet()->mutable_rect_data()->set_data(kData);
// Prepare the end rect.
msg->mutable_update_stream_packet()->mutable_end_rect();
« no previous file with comments | « remoting/base/decoder_verbatim.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698