| Index: cc/output/texture_mailbox_deleter.cc
|
| diff --git a/cc/output/texture_mailbox_deleter.cc b/cc/output/texture_mailbox_deleter.cc
|
| index 27154c7394e0476a679c95b5881d4746b87f8971..8585938064c69388058115fe2b63d3e19dd693c2 100644
|
| --- a/cc/output/texture_mailbox_deleter.cc
|
| +++ b/cc/output/texture_mailbox_deleter.cc
|
| @@ -57,7 +57,7 @@ scoped_ptr<SingleReleaseCallback> TextureMailboxDeleter::GetReleaseCallback(
|
| context_provider,
|
| texture_id));
|
|
|
| - impl_callbacks_.push_back(impl_callback.Pass());
|
| + impl_callbacks_.push_back(std::move(impl_callback));
|
|
|
| // The raw pointer to the impl-side callback is valid as long as this
|
| // class is alive. So we guard it with a WeakPtr.
|
| @@ -75,7 +75,7 @@ scoped_ptr<SingleReleaseCallback> TextureMailboxDeleter::GetReleaseCallback(
|
| main_callback = SingleReleaseCallback::Create(run_impl_callback);
|
| }
|
|
|
| - return main_callback.Pass();
|
| + return main_callback;
|
| }
|
|
|
| void TextureMailboxDeleter::RunDeleteTextureOnImplThread(
|
|
|