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 85250 ea41d0de5a04fa4c0a944004f4cc52c9a6c4a91f
parent 85249 cac3f64d36d09be1c711301e9347dcc8a06d608a
child 85251 bdc686b071bb16499120c8b679f113ea51530c8d
push id5248
push userbmo@edmorley.co.uk
push dateTue, 24 Jan 2012 21:07:26 +0000
treeherdermozilla-inbound@ea41d0de5a04 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs672893
milestone12.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 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;