Bug 1188206 - Fix more constructors in gfx; r=jrmuizel

This commit is contained in:
Ehsan Akhgari 2015-07-27 21:14:42 -04:00
parent 03166bf29d
commit 6475fc4b90
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ struct ReferencePtr
{}
template <typename T>
ReferencePtr(const RefPtr<T>& aPtr)
MOZ_IMPLICIT ReferencePtr(const RefPtr<T>& aPtr)
: mLongPtr(uint64_t(aPtr.get()))
{}

View File

@ -23,7 +23,7 @@ class HeapCopyOfStackArray
{
public:
template<size_t N>
HeapCopyOfStackArray(ElemType (&array)[N])
MOZ_IMPLICIT HeapCopyOfStackArray(ElemType (&array)[N])
: mArrayLength(N)
, mArrayData(new ElemType[N])
{
@ -44,4 +44,4 @@ private:
} // namespace mozilla
#endif // HEAPCOPYOFSTACKARRAY_H_
#endif // HEAPCOPYOFSTACKARRAY_H_