mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 768793 - Remove DOMJSClass::mGetWrapperCacheVTableOffset; r=khuey
This commit is contained in:
parent
36d93492da
commit
07775477a5
@ -129,8 +129,7 @@ DOMJSClass Class = {
|
||||
%s, /* trace */
|
||||
JSCLASS_NO_INTERNAL_MEMBERS
|
||||
},
|
||||
%s,
|
||||
-1
|
||||
%s
|
||||
};
|
||||
""" % (self.descriptor.interface.identifier.name,
|
||||
ADDPROPERTY_HOOK_NAME if self.descriptor.concrete and not self.descriptor.workers and self.descriptor.wrapperCache else 'JS_PropertyStub',
|
||||
|
@ -73,12 +73,6 @@ struct DOMJSClass
|
||||
|
||||
DOMClass mClass;
|
||||
|
||||
// We cache the VTable index of GetWrapperCache for objects that support it.
|
||||
//
|
||||
// -1 indicates that GetWrapperCache is not implemented on the underlying object.
|
||||
// XXXkhuey this is unused and needs to die.
|
||||
const int16_t mGetWrapperCacheVTableOffset;
|
||||
|
||||
static DOMJSClass* FromJSClass(JSClass* base) {
|
||||
MOZ_ASSERT(base->flags & JSCLASS_IS_DOMJSCLASS);
|
||||
return reinterpret_cast<DOMJSClass*>(base);
|
||||
|
@ -313,8 +313,7 @@ DOMJSClass Worker::sClass = {
|
||||
prototypes::id::_ID_Count },
|
||||
false,
|
||||
&sNativePropertyHooks
|
||||
},
|
||||
-1
|
||||
}
|
||||
};
|
||||
|
||||
JSPropertySpec Worker::sProperties[] = {
|
||||
@ -439,8 +438,7 @@ DOMJSClass ChromeWorker::sClass = {
|
||||
prototypes::id::_ID_Count },
|
||||
false,
|
||||
&sNativePropertyHooks
|
||||
},
|
||||
-1
|
||||
}
|
||||
};
|
||||
|
||||
WorkerPrivate*
|
||||
|
@ -865,8 +865,7 @@ DOMJSClass DedicatedWorkerGlobalScope::sClass = {
|
||||
prototypes::id::_ID_Count },
|
||||
false,
|
||||
&sNativePropertyHooks
|
||||
},
|
||||
-1
|
||||
}
|
||||
};
|
||||
|
||||
JSPropertySpec DedicatedWorkerGlobalScope::sProperties[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user