Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Unified Diff: net/quic/quartc/quartc_factory.cc

Issue 2634513004: Replace unique_ptr.reset/release with std::move (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quartc/quartc_factory.cc
diff --git a/net/quic/quartc/quartc_factory.cc b/net/quic/quartc/quartc_factory.cc
index 6a90bd614b51a5fbb63270d4e2a31fc2d10caff1..9cf63c063942a62b47f65d6a91578e8f4a8bdc36 100644
--- a/net/quic/quartc/quartc_factory.cc
+++ b/net/quic/quartc/quartc_factory.cc
@@ -41,7 +41,7 @@ class QuartcAlarm : public net::QuicAlarm,
DCHECK(task_runner_);
DCHECK(!scheduled_task_);
- scheduled_task_.reset((task_runner_->Schedule(this, delay_ms)).release());
+ scheduled_task_ = task_runner_->Schedule(this, delay_ms);
}
void CancelImpl() override {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698