Bug 1263342 - don't use REFCOUNTED_VIRTUAL_TYPENAME for mfbt FunctionImplBase. r=froydnj
authorLee Salzman <lsalzman@mozilla.com>
Fri, 08 Apr 2016 23:14:59 -0400
changeset 292513 a10bbaedd405ab9cacd29abb6644de41f3b69f3f
parent 292512 4ed4a5de51d0d486a3b128418d61533123f0d480
child 292514 01cd641cc9b9de4bcd440e7f95e1c441c126e176
push id30160
push userryanvm@gmail.com
push dateSun, 10 Apr 2016 20:21:04 +0000
treeherdermozilla-central@29d5a4175c8b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1263342
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1263342 - don't use REFCOUNTED_VIRTUAL_TYPENAME for mfbt FunctionImplBase. r=froydnj
mfbt/Function.h
--- a/mfbt/Function.h
+++ b/mfbt/Function.h
@@ -39,17 +39,17 @@
 namespace mozilla {
 
 namespace detail {
 
 template<typename ReturnType, typename... Arguments>
 class FunctionImplBase : public mozilla::RefCounted<FunctionImplBase<ReturnType, Arguments...>>
 {
 public:
-  MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME(FunctionImplBase)
+  MOZ_DECLARE_REFCOUNTED_TYPENAME(FunctionImplBase)
 
   virtual ~FunctionImplBase() {}
   virtual ReturnType call(Arguments... aArguments) = 0;
 };
 
 // Normal Callable Object.
 template <typename Callable, typename ReturnType, typename... Arguments>
 class FunctionImpl : public FunctionImplBase<ReturnType, Arguments...>