From 09d8b96b586dc972f31b6e1c72643de6ffb5ad16 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Sat, 19 Mar 2011 04:13:30 +0000 Subject: Revert 78649 - Finished running the experiment. Chrome is too fast, make it slower. Test out using RefCountedThreadSafeBase for all refcounting. Will revert after I'm done testing performance implications. BUG= TEST= Review URL: http://codereview.chromium.org/6712009 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/6711057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78811 0039d316-1c4b-4281-b951-d872f2087c98 --- base/raw_scoped_refptr_mismatch_checker.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base/raw_scoped_refptr_mismatch_checker.h') diff --git a/base/raw_scoped_refptr_mismatch_checker.h b/base/raw_scoped_refptr_mismatch_checker.h index 522751a..b79cfb5 100644 --- a/base/raw_scoped_refptr_mismatch_checker.h +++ b/base/raw_scoped_refptr_mismatch_checker.h @@ -36,7 +36,8 @@ struct NeedsScopedRefptrButGetsRawPtr { // raw pointer type and are convertible to a RefCounted(Base|ThreadSafeBase) // type. value = (is_pointer::value && - (is_convertible::value)) + (is_convertible::value || + is_convertible::value)) }; #endif }; -- cgit v1.1