summaryrefslogtreecommitdiffstats
path: root/chromium/base/callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/callback.h')
-rw-r--r--chromium/base/callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/base/callback.h b/chromium/base/callback.h
index e08f9b872b7..1427faaaea9 100644
--- a/chromium/base/callback.h
+++ b/chromium/base/callback.h
@@ -140,7 +140,7 @@ class RepeatingCallback<R(Args...)> : public internal::CallbackBaseCopyable {
RepeatingCallback cb = std::move(*this);
PolymorphicInvoke f =
reinterpret_cast<PolymorphicInvoke>(cb.polymorphic_invoke());
- return f(cb.bind_state_.get(), std::forward<Args>(args)...);
+ return f(std::move(cb).bind_state_.get(), std::forward<Args>(args)...);
}
};