diff options
Diffstat (limited to 'extensions/renderer')
-rw-r--r-- | extensions/renderer/api/display_source/wifi_display/wifi_display_session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/renderer/api/display_source/wifi_display/wifi_display_session.cc b/extensions/renderer/api/display_source/wifi_display/wifi_display_session.cc index a9bd739..b836854 100644 --- a/extensions/renderer/api/display_source/wifi_display/wifi_display_session.cc +++ b/extensions/renderer/api/display_source/wifi_display/wifi_display_session.cc @@ -155,7 +155,7 @@ unsigned WiFiDisplaySession::CreateTimer(int seconds) { std::pair<int, scoped_ptr<base::Timer>>( ++timer_id_, std::move(timer))); DCHECK(insert_ret.second); - timer->Start(FROM_HERE, + insert_ret.first->second->Start(FROM_HERE, base::TimeDelta::FromSeconds(seconds), base::Bind(&wds::Source::OnTimerEvent, base::Unretained(wfd_source_.get()), |