| Index: content/browser/media/capture/cursor_renderer_aura.cc
|
| diff --git a/content/browser/media/capture/cursor_renderer_aura.cc b/content/browser/media/capture/cursor_renderer_aura.cc
|
| index 6beceea099f5dc5e1fe7eefe40a007105f10fc99..359de6074cf05c8d4d14f12d2839a1ee8c93afb8 100644
|
| --- a/content/browser/media/capture/cursor_renderer_aura.cc
|
| +++ b/content/browser/media/capture/cursor_renderer_aura.cc
|
| @@ -115,7 +115,7 @@ bool CursorRendererAura::SnapshotCursorState(const gfx::Rect& region_in_frame) {
|
| if (cursor_display_setting_ == kCursorEnabledOnMouseMovement) {
|
| if (cursor_displayed_) {
|
| // Stop displaying cursor if there has been no mouse movement
|
| - base::TimeDelta now = tick_clock_->NowTicks() - base::TimeTicks();
|
| + base::TimeTicks now = tick_clock_->NowTicks();
|
| if ((now - last_mouse_movement_timestamp_) >
|
| base::TimeDelta::FromSeconds(MAX_IDLE_TIME_SECONDS)) {
|
| cursor_displayed_ = false;
|
|
|