mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1188207 - Fix more constructors in DOM; r=baku
This commit is contained in:
parent
6475fc4b90
commit
d891bf7618
@ -476,14 +476,14 @@ GetWrapperCache(const SmartPtr<T>& aObject)
|
||||
|
||||
struct MOZ_STACK_CLASS ParentObject {
|
||||
template<class T>
|
||||
ParentObject(T* aObject) :
|
||||
MOZ_IMPLICIT ParentObject(T* aObject) :
|
||||
mObject(aObject),
|
||||
mWrapperCache(GetWrapperCache(aObject)),
|
||||
mUseXBLScope(false)
|
||||
{}
|
||||
|
||||
template<class T, template<typename> class SmartPtr>
|
||||
ParentObject(const SmartPtr<T>& aObject) :
|
||||
MOZ_IMPLICIT ParentObject(const SmartPtr<T>& aObject) :
|
||||
mObject(aObject.get()),
|
||||
mWrapperCache(GetWrapperCache(aObject.get())),
|
||||
mUseXBLScope(false)
|
||||
|
Loading…
Reference in New Issue
Block a user