Bug 736619 - remove the unused struct ClearedGlobalObject from XPCJSRuntime; r=bholley
authorMs2ger <ms2ger@gmail.com>
Sat, 24 Mar 2012 09:18:22 +0100
changeset 93449 743f5158bd1aa49670d1f1a92690adabf17a8a38
parent 93448 9fdfd263167b830b040c8f51a77736c1e7a6437e
child 93450 7f9b3c618daec9578ffa9ec7e89eac9f35f38646
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbholley
bugs736619
milestone14.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 736619 - remove the unused struct ClearedGlobalObject from XPCJSRuntime; r=bholley
js/xpconnect/src/XPCJSRuntime.cpp
--- a/js/xpconnect/src/XPCJSRuntime.cpp
+++ b/js/xpconnect/src/XPCJSRuntime.cpp
@@ -374,22 +374,16 @@ TraceJSHolder(JSDHashTable *table, JSDHa
 {
     ObjectHolder* entry = reinterpret_cast<ObjectHolder*>(hdr);
 
     entry->tracer->Trace(entry->holder, TraceJSObject, arg);
 
     return JS_DHASH_NEXT;
 }
 
-struct ClearedGlobalObject : public JSDHashEntryHdr
-{
-    JSContext* mContext;
-    JSObject* mGlobalObject;
-};
-
 static PLDHashOperator
 TraceExpandos(XPCWrappedNative *wn, JSObject *&expando, void *aClosure)
 {
     if (wn->IsWrapperExpired())
         return PL_DHASH_REMOVE;
     JS_CALL_OBJECT_TRACER(static_cast<JSTracer *>(aClosure), expando, "expando object");
     return PL_DHASH_NEXT;
 }