Extensions: Store and use RunLoop::QuitClosure as OnceClosure.
It won't be necessary to call base::ResetAndReturn. Use std::move to Run() those closures instead. Bug: 812717 Change-Id: Ie8956bfcb23e3411025352d4714a9c928c0869fe Reviewed-on: https://chromium-review.googlesource.com/920742 Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#537349}
Showing
Please register or sign in to comment