| Index: base/callback_helpers.cc
|
| diff --git a/base/callback_helpers.cc b/base/callback_helpers.cc
|
| index ef02b2bde0cdfed5dbd02cb97cabd246ea18d611..cd7fd34aa4ef696f4eada083b682e265d0cad2eb 100644
|
| --- a/base/callback_helpers.cc
|
| +++ b/base/callback_helpers.cc
|
| @@ -8,12 +8,13 @@
|
|
|
| namespace base {
|
|
|
| -ScopedClosureRunner::ScopedClosureRunner() {
|
| -}
|
| +ScopedClosureRunner::ScopedClosureRunner() {}
|
| +
|
| +ScopedClosureRunner::ScopedClosureRunner(ScopedClosureRunner&& other)
|
| + : closure_(other.Release()) {}
|
|
|
| ScopedClosureRunner::ScopedClosureRunner(const Closure& closure)
|
| - : closure_(closure) {
|
| -}
|
| + : closure_(closure) {}
|
|
|
| ScopedClosureRunner::~ScopedClosureRunner() {
|
| if (!closure_.is_null())
|
|
|