| Index: content/port/browser/render_widget_host_view_frame_subscriber.h
|
| diff --git a/content/port/browser/render_widget_host_view_frame_subscriber.h b/content/port/browser/render_widget_host_view_frame_subscriber.h
|
| index c99624f88d3b1f81e625cca948095aab709bba97..76fd4b13574a3024b37de7bed5d6ff7847c193cb 100644
|
| --- a/content/port/browser/render_widget_host_view_frame_subscriber.h
|
| +++ b/content/port/browser/render_widget_host_view_frame_subscriber.h
|
| @@ -40,9 +40,8 @@ class RenderWidgetHostViewFrameSubscriber {
|
| // If |frame_captured| is false then the content in frame provided is
|
| // invalid. There was an error during the process of frame capture or the
|
| // platform layer is shutting down. |timestamp| is also invalid in this case.
|
| - typedef base::Callback<void(
|
| - base::Time /* timestamp */,
|
| - bool /* frame_captured */)> DeliverFrameCallback;
|
| + typedef base::Callback<void(base::TimeTicks /* timestamp */,
|
| + bool /* frame_captured */)> DeliverFrameCallback;
|
|
|
| // Called when a new frame is going to be presented at time
|
| // |present_time|. Implementation can decide whether the current frame should
|
| @@ -61,10 +60,9 @@ class RenderWidgetHostViewFrameSubscriber {
|
| // platform layer to decide when to deliver a captured frame.
|
| //
|
| // Return false if the current frame should not be captured.
|
| - virtual bool ShouldCaptureFrame(
|
| - base::Time present_time,
|
| - scoped_refptr<media::VideoFrame>* storage,
|
| - DeliverFrameCallback* callback) = 0;
|
| + virtual bool ShouldCaptureFrame(base::TimeTicks present_time,
|
| + scoped_refptr<media::VideoFrame>* storage,
|
| + DeliverFrameCallback* callback) = 0;
|
| };
|
|
|
| } // namespace content
|
|
|