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

Unified Diff: media/cast/receiver/video_decoder.cc

Issue 308713005: Cast: Synthetic benchmark tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge + minor fix Created 6 years, 6 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 | « media/cast/cast_testing.gypi ('k') | media/cast/test/cast_benchmarks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/receiver/video_decoder.cc
diff --git a/media/cast/receiver/video_decoder.cc b/media/cast/receiver/video_decoder.cc
index 21f49d89a5b9f3ab3eff44aceea50562e53cff2a..6db3fd35f391e50e86ba5c2d6145bd5860982953 100644
--- a/media/cast/receiver/video_decoder.cc
+++ b/media/cast/receiver/video_decoder.cc
@@ -185,8 +185,8 @@ class VideoDecoder::FakeImpl : public VideoDecoder::ImplBase {
virtual scoped_refptr<VideoFrame> Decode(uint8* data, int len) OVERRIDE {
base::JSONReader reader;
- scoped_ptr<base::Value> values(reader.Read(
- base::StringPiece(reinterpret_cast<char*>(data), len)));
+ scoped_ptr<base::Value> values(
+ reader.Read(base::StringPiece(reinterpret_cast<char*>(data))));
base::DictionaryValue* dict = NULL;
values->GetAsDictionary(&dict);
« no previous file with comments | « media/cast/cast_testing.gypi ('k') | media/cast/test/cast_benchmarks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698