diff options
Diffstat (limited to 'media/base/callback.h')
-rw-r--r-- | media/base/callback.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/media/base/callback.h b/media/base/callback.h index 2273ace..c21312e 100644 --- a/media/base/callback.h +++ b/media/base/callback.h @@ -51,11 +51,7 @@ class AutoCallbackRunner { : callback_(callback) { } - ~AutoCallbackRunner() { - if (callback_.get()) { - callback_->Run(); - } - } + ~AutoCallbackRunner(); Callback0::Type* release() { return callback_.release(); } |