diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 21:45:15 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-19 21:45:15 +0000 |
commit | 7fde4708eada3a3f1b8f5f0ec77aa5a8d4f054b2 (patch) | |
tree | a931ab06402d4ab322e777fa907526d00a72d3ef /base/bind.h | |
parent | fc7b441f6e9541d111fadd050d0cbdb6ac761614 (diff) | |
download | chromium_src-7fde4708eada3a3f1b8f5f0ec77aa5a8d4f054b2.zip chromium_src-7fde4708eada3a3f1b8f5f0ec77aa5a8d4f054b2.tar.gz chromium_src-7fde4708eada3a3f1b8f5f0ec77aa5a8d4f054b2.tar.bz2 |
Reverting as an experiment to determine if this caused increased Win build
times.
Revert 105754 - base::Bind: Increase the arity to 7.
This is required by a CL I have in the works.
Stats from builds of Release Chrome target with -j12:
Build time: -0.2%, within the noise.
Size: No change in size of chrome binary.
BUG=98542
TEST=none
R=ajwong@chromium.org,akalin@chromium.org,willchan@chromium.org
Review URL: http://codereview.chromium.org/8306008
TBR=jhawkins@chromium.org
Review URL: http://codereview.chromium.org/8344065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/bind.h')
-rw-r--r-- | base/bind.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/base/bind.h b/base/bind.h index 27c6d87..f023308e 100644 --- a/base/bind.h +++ b/base/bind.h @@ -95,17 +95,6 @@ Bind(Sig f, const P1& p1, const P2& p2, const P3& p3, const P4& p4, f, p1, p2, p3, p4, p5, p6)); } -template <typename Sig, typename P1, typename P2, typename P3, typename P4, - typename P5, typename P6, typename P7> -internal::InvokerStorageHolder<internal::InvokerStorage7<Sig,P1, P2, P3, P4, - P5, P6, P7> > -Bind(Sig f, const P1& p1, const P2& p2, const P3& p3, const P4& p4, - const P5& p5, const P6& p6, const P7& p7) { - return internal::MakeInvokerStorageHolder( - new internal::InvokerStorage7<Sig, P1, P2, P3, P4, P5, P6, P7>( - f, p1, p2, p3, p4, p5, p6, p7)); -} - // Specializations to allow binding all the free arguments in a // pre-existing base::Callback<>. This does not give full support for // currying, but is significantly simpler and addresses the use case @@ -151,15 +140,6 @@ base::Closure Bind(const base::Callback<Sig>& callback, const P1& p1, callback, p1, p2, p3, p4, p5, p6); } -template <typename Sig, typename P1, typename P2, typename P3, typename P4, - typename P5, typename P6, typename P7> -base::Closure Bind(const base::Callback<Sig>& callback, const P1& p1, - const P2& p2, const P3& p3, const P4& p4, const P5& p5, const P6& p6, - const P7& p7) { - return base::Bind(&internal::BindMoreFunc7<Sig, P1, P2, P3, P4, P5, P6, P7>, - callback, p1, p2, p3, p4, p5, p6, p7); -} - } // namespace base #endif // BASE_BIND_H_ |