Index: media/base/android/media_codec_decoder_unittest.cc |
diff --git a/media/base/android/media_codec_decoder_unittest.cc b/media/base/android/media_codec_decoder_unittest.cc |
index 5192087e335fc507e49b26c9107db010017e886e..45f55a54365133a327dc3bab7d6d649b8d0de84f 100644 |
--- a/media/base/android/media_codec_decoder_unittest.cc |
+++ b/media/base/android/media_codec_decoder_unittest.cc |
@@ -194,9 +194,9 @@ class MediaCodecDecoderTest : public testing::Test { |
pts_stat_.AddValue(last_buffered); |
- if (stop_request_time_ != kNoTimestamp() && |
+ if (stop_request_time_ != kNoTimestamp && |
now_playing >= stop_request_time_) { |
- stop_request_time_ = kNoTimestamp(); |
+ stop_request_time_ = kNoTimestamp; |
decoder_->RequestToStop(); |
} |
} |
@@ -237,9 +237,8 @@ MediaCodecDecoderTest::MediaCodecDecoderTest() |
is_prefetched_(false), |
is_stopped_(false), |
is_starved_(false), |
- stop_request_time_(kNoTimestamp()), |
- task_runner_(base::ThreadTaskRunnerHandle::Get()) { |
-} |
+ stop_request_time_(kNoTimestamp), |
+ task_runner_(base::ThreadTaskRunnerHandle::Get()) {} |
MediaCodecDecoderTest::~MediaCodecDecoderTest() {} |