Have DispatchToMethod use base::internal::UnwrapTraits when dispatching
When dispatching, have base::DispatchToMethod/DispatchToFunction use the
base::internal::UnwrapTraits<> to properly unwrap the base::Tuple's wrapped
argument.
This ensures that methods that expect a "T*" can be properly dispatched when
the tuple contains a scoped_refptr<T> without relying on implicit
conversions.
BUG=110610
Review URL: https://chromiumcodereview.appspot.com/17911007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208903 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 58ae630b950198afa4974800754f7297346a61ef
1 file changed