diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 21:15:58 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 21:15:58 +0000 |
commit | 3cfcf068072a42ebf6b274dabe1967e2c3a1f825 (patch) | |
tree | 059d598abffb077f3877b9a9ba02631c3c89b16d /base/OWNERS | |
parent | 8f270be43ff51e35d4493e377c18bfca1c6b5be6 (diff) | |
download | chromium_src-3cfcf068072a42ebf6b274dabe1967e2c3a1f825.zip chromium_src-3cfcf068072a42ebf6b274dabe1967e2c3a1f825.tar.gz chromium_src-3cfcf068072a42ebf6b274dabe1967e2c3a1f825.tar.bz2 |
Clean up VideoRendererBase timing code.
Tiny step towards simplifying VideoRendererBase code and respective subclasses.
The biggest change was to replace if statements adjusting the value of |remaining_time| with explicit statements to sleep then retry the loop from the start. The nice part about doing this is that we guarantee we exercise all conditions in the scenario where a spurious signal to |frame_available_| causes the thread to wake up.
BUG=28208
Review URL: http://codereview.chromium.org/8794001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/OWNERS')
0 files changed, 0 insertions, 0 deletions