Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke
authorMs2ger <ms2ger@gmail.com>
Tue, 24 Jan 2012 21:07:00 +0000
changeset 86494 ea41d0de5a04fa4c0a944004f4cc52c9a6c4a91f
parent 86493 cac3f64d36d09be1c711301e9347dcc8a06d608a
child 86495 bdc686b071bb16499120c8b679f113ea51530c8d
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs672893
milestone12.0a1
Bug 672893 followup - Make JSCompartment not a JS_FRIEND_API; r=luke
js/src/jscompartment.h
--- a/js/src/jscompartment.h
+++ b/js/src/jscompartment.h
@@ -159,17 +159,18 @@ struct ScriptFilenameHasher
 };
 
 typedef HashSet<ScriptFilenameEntry *,
                 ScriptFilenameHasher,
                 SystemAllocPolicy> ScriptFilenameTable;
 
 } /* namespace js */
 
-struct JS_FRIEND_API(JSCompartment) {
+struct JSCompartment
+{
     JSRuntime                    *rt;
     JSPrincipals                 *principals;
 
     js::gc::ArenaLists           arenas;
 
     bool                         needsBarrier_;
     js::GCMarker                 *gcIncrementalTracer;