Bug 1065657 - Follow up: remove bad friend declaration that leads to GCC warnings and burnt trees on a CLOSED TREE; r=tromey
☠☠ backed out by 0b202671c9e2 ☠ ☠
authorNick Fitzgerald <fitzgen@gmail.com>
Wed, 22 Apr 2015 11:38:09 -0700
changeset 240593 68fe0894bb09d008d7c027aab9689cfe469f4e5a
parent 240592 1b9620d674dff99cbc5ef5261da594df9391641c
child 240594 8bcdac2a7ad1fcddfdf451f1e5dda08bb3e468c0
push id28636
push userkwierso@gmail.com
push dateThu, 23 Apr 2015 00:16:12 +0000
treeherdermozilla-central@a5af73b32ac8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstromey
bugs1065657
milestone40.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 1065657 - Follow up: remove bad friend declaration that leads to GCC warnings and burnt trees on a CLOSED TREE; r=tromey
js/src/vm/Debugger.h
--- a/js/src/vm/Debugger.h
+++ b/js/src/vm/Debugger.h
@@ -185,17 +185,16 @@ class Debugger : private mozilla::Linked
 {
     friend class Breakpoint;
     friend class DebuggerMemory;
     friend class SavedStacks;
     friend class mozilla::LinkedListElement<Debugger>;
     friend bool (::JS_DefineDebuggerObject)(JSContext* cx, JS::HandleObject obj);
     friend bool (::JS::dbg::IsDebugger)(const JSObject&);
     friend bool (::JS::dbg::GetDebuggeeGlobals)(JSContext*, const JSObject&, AutoObjectVector&);
-    friend JSObject* SavedStacksMetadataCallback(JSContext* cx);
     friend void JS::dbg::onNewPromise(JSContext* cx, HandleObject promise);
     friend void JS::dbg::onPromiseSettled(JSContext* cx, HandleObject promise);
     friend bool JS::dbg::FireOnGarbageCollectionHook(JSContext* cx,
                                                      JS::dbg::GarbageCollectionEvent::Ptr&& data);
 
   public:
     enum Hook {
         OnDebuggerStatement,