diff options
author | jrummell <jrummell@chromium.org> | 2014-10-28 11:48:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-28 18:48:58 +0000 |
commit | 8c099338f436b726d07988f39d263f11fdbcc446 (patch) | |
tree | d36810942d179d2dc9dddaf9ba5fa384546c03bf /media | |
parent | b465756959c5d1c5033f20dada4086a7ad1ed238 (diff) | |
download | chromium_src-8c099338f436b726d07988f39d263f11fdbcc446.zip chromium_src-8c099338f436b726d07988f39d263f11fdbcc446.tar.gz chromium_src-8c099338f436b726d07988f39d263f11fdbcc446.tar.bz2 |
Change return type in saturated_cast call
BUG=none
TEST=media_unittests pass
Review URL: https://codereview.chromium.org/681523002
Cr-Commit-Position: refs/heads/master@{#301670}
Diffstat (limited to 'media')
-rw-r--r-- | media/audio/audio_device_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_device_thread.cc b/media/audio/audio_device_thread.cc index b9cd00f..46d6d86 100644 --- a/media/audio/audio_device_thread.cc +++ b/media/audio/audio_device_thread.cc @@ -178,7 +178,7 @@ void AudioDeviceThread::Thread::Run() { // and even if it does, it would only cause a temporary loss // of A/V sync which is much better than crashing or halting // playback. - callback_->Process(base::saturated_cast<uint32>(pending_data)); + callback_->Process(base::saturated_cast<int>(pending_data)); } } |