summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authorsheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 06:15:43 +0000
committersheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-08 06:15:43 +0000
commitee74aa5e23bddc14fa5c8b00036acf897f2b3861 (patch)
treeb6d03d25367dd04d4b0b6069df19a6121a3f4fbb /content/common
parentf19a42a5b8158e5d3c4910227552b3d43e164b62 (diff)
downloadchromium_src-ee74aa5e23bddc14fa5c8b00036acf897f2b3861.zip
chromium_src-ee74aa5e23bddc14fa5c8b00036acf897f2b3861.tar.gz
chromium_src-ee74aa5e23bddc14fa5c8b00036acf897f2b3861.tar.bz2
Convert video capture pipline to base::TimeTicks
base::TimeTicks is a monotonic clock, unlike base::Time, which may change if the system time is changed. Switch over the video capture pipeline to use this clock. BUG=249215 TEST=local build, run on CrOS snow, desktop Linux Review URL: https://codereview.chromium.org/101843005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/media/video_capture_messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/media/video_capture_messages.h b/content/common/media/video_capture_messages.h
index 55cbb38..a1e913f 100644
--- a/content/common/media/video_capture_messages.h
+++ b/content/common/media/video_capture_messages.h
@@ -46,7 +46,7 @@ IPC_MESSAGE_CONTROL2(VideoCaptureMsg_FreeBuffer,
IPC_MESSAGE_CONTROL4(VideoCaptureMsg_BufferReady,
int /* device id */,
int /* buffer_id */,
- base::Time /* timestamp */,
+ base::TimeTicks /* timestamp */,
media::VideoCaptureFormat /* resolution */)
// Start a video capture as |device_id|, a new id picked by the renderer