summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslan <slan@chromium.org>2015-10-26 16:24:21 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-26 23:25:13 +0000
commit41936a57887b69cf9d2e0373ba81565eb96f72fe (patch)
tree45cd6c77e6ed6e70eafd6cb1b54c4507e4b447bd
parentf817f16124eaebfb53ed782a2c1a99cdae8ae096 (diff)
downloadchromium_src-41936a57887b69cf9d2e0373ba81565eb96f72fe.zip
chromium_src-41936a57887b69cf9d2e0373ba81565eb96f72fe.tar.gz
chromium_src-41936a57887b69cf9d2e0373ba81565eb96f72fe.tar.bz2
[Chromecast][Build Fix] Correct type error in unittest.
Broken by: https://codereview.chromium.org/1425523002 BUG= Review URL: https://codereview.chromium.org/1427543003 Cr-Commit-Position: refs/heads/master@{#356172}
-rw-r--r--chromecast/renderer/media/demuxer_stream_adapter_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromecast/renderer/media/demuxer_stream_adapter_unittest.cc b/chromecast/renderer/media/demuxer_stream_adapter_unittest.cc
index cc74308..24b4d61 100644
--- a/chromecast/renderer/media/demuxer_stream_adapter_unittest.cc
+++ b/chromecast/renderer/media/demuxer_stream_adapter_unittest.cc
@@ -111,7 +111,7 @@ void DemuxerStreamAdapterTest::OnNewFrame(
}
ASSERT_TRUE(buffer.get() != NULL);
- ASSERT_EQ(buffer->timestamp(),
+ ASSERT_EQ(base::TimeDelta::FromMicroseconds(buffer->timestamp()),
base::TimeDelta::FromMilliseconds(40 * frame_received_count_));
frame_received_count_++;