| 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 d0aad725093b4de1293ada4e61ac5844e21067db..6337feba0199e58a8d3f6ec9fa91619edaf2eb4c 100644
|
| --- a/content/browser/media/capture/cursor_renderer_aura.cc
|
| +++ b/content/browser/media/capture/cursor_renderer_aura.cc
|
| @@ -116,7 +116,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;
|
|
|