diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-13 19:32:25 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-13 19:32:25 +0000 |
commit | 54af837075a853dc13c9a85378aac56c60c70927 (patch) | |
tree | 0027dce2fe4f892c0eabc35bc646d35a6593962e /base/callback.h | |
parent | ab9fe0f8b3127a8cc224322107d2f77fe0a9ef38 (diff) | |
download | chromium_src-54af837075a853dc13c9a85378aac56c60c70927.zip chromium_src-54af837075a853dc13c9a85378aac56c60c70927.tar.gz chromium_src-54af837075a853dc13c9a85378aac56c60c70927.tar.bz2 |
Revert of "Redo r113722 - Add Pass(), which implements move semantics, to scoped_ptr, scoped_ar..."
This reverts commit r113922.
Win Canary has been failing to link due to OOM since the weekend. While this was not the original cause, it might be making things worse. Speculatively remove for now.
Also changes render_widge_host_view to use Owned() instead of Passed().
BUG=none
TEST=existing.
Review URL: http://codereview.chromium.org/8931008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/callback.h')
-rw-r--r-- | base/callback.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/base/callback.h b/base/callback.h index 967677e..4bf474d 100644 --- a/base/callback.h +++ b/base/callback.h @@ -312,7 +312,7 @@ class Callback<R(A1)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1)); + return f(bind_state_.get(), a1); } private: @@ -355,8 +355,8 @@ class Callback<R(A1, A2)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1), - internal::CallbackForward(a2)); + return f(bind_state_.get(), a1, + a2); } private: @@ -401,9 +401,9 @@ class Callback<R(A1, A2, A3)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1), - internal::CallbackForward(a2), - internal::CallbackForward(a3)); + return f(bind_state_.get(), a1, + a2, + a3); } private: @@ -450,10 +450,10 @@ class Callback<R(A1, A2, A3, A4)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1), - internal::CallbackForward(a2), - internal::CallbackForward(a3), - internal::CallbackForward(a4)); + return f(bind_state_.get(), a1, + a2, + a3, + a4); } private: @@ -503,11 +503,11 @@ class Callback<R(A1, A2, A3, A4, A5)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1), - internal::CallbackForward(a2), - internal::CallbackForward(a3), - internal::CallbackForward(a4), - internal::CallbackForward(a5)); + return f(bind_state_.get(), a1, + a2, + a3, + a4, + a5); } private: @@ -559,12 +559,12 @@ class Callback<R(A1, A2, A3, A4, A5, A6)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1), - internal::CallbackForward(a2), - internal::CallbackForward(a3), - internal::CallbackForward(a4), - internal::CallbackForward(a5), - internal::CallbackForward(a6)); + return f(bind_state_.get(), a1, + a2, + a3, + a4, + a5, + a6); } private: @@ -618,13 +618,13 @@ class Callback<R(A1, A2, A3, A4, A5, A6, A7)> : public internal::CallbackBase { PolymorphicInvoke f = reinterpret_cast<PolymorphicInvoke>(polymorphic_invoke_); - return f(bind_state_.get(), internal::CallbackForward(a1), - internal::CallbackForward(a2), - internal::CallbackForward(a3), - internal::CallbackForward(a4), - internal::CallbackForward(a5), - internal::CallbackForward(a6), - internal::CallbackForward(a7)); + return f(bind_state_.get(), a1, + a2, + a3, + a4, + a5, + a6, + a7); } private: |