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 79edfbc8f7390cfc55c7efb89c7dacafd1ac8c83..b4a2ba5a4a10ad734e04bc0fa5a224ea8c98307f 100644 |
--- a/content/browser/media/capture/cursor_renderer_aura.cc |
+++ b/content/browser/media/capture/cursor_renderer_aura.cc |
@@ -120,7 +120,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; |