Bug 756067 - Remove js::GetOwnerThread. r=mrbkap
authorCykesiopka <cykesiopka@hotmail.com>
Mon, 06 May 2013 22:00:06 -0400
changeset 131037 06f0445a50abb89dcba39c82bd7bf07904d1edbe
parent 131036 8ef4542be8fdf58b6e0b1c292320323b2a208e33
child 131038 4a42bd9ee71200a2b44b6a9cfe9017317edfb7cc
push id27657
push userryanvm@gmail.com
push dateTue, 07 May 2013 02:00:59 +0000
treeherdermozilla-inbound@4a42bd9ee712 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs756067
milestone23.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 756067 - Remove js::GetOwnerThread. r=mrbkap
js/src/jsfriendapi.cpp
js/src/jsfriendapi.h
--- a/js/src/jsfriendapi.cpp
+++ b/js/src/jsfriendapi.cpp
@@ -749,22 +749,16 @@ js::CallContextDebugHandler(JSContext *c
     if (!cx->runtime->debugHooks.debuggerHandler)
         return JSTRAP_RETURN;
 
     return cx->runtime->debugHooks.debuggerHandler(cx, script, bc, rval,
                                                    cx->runtime->debugHooks.debuggerHandlerData);
 }
 
 #ifdef JS_THREADSAFE
-void *
-js::GetOwnerThread(const JSContext *cx)
-{
-    return cx->runtime->ownerThread();
-}
-
 JS_FRIEND_API(bool)
 js::ContextHasOutstandingRequests(const JSContext *cx)
 {
     return cx->outstandingRequests > 0;
 }
 #endif
 
 JS_FRIEND_API(bool)
--- a/js/src/jsfriendapi.h
+++ b/js/src/jsfriendapi.h
@@ -718,19 +718,16 @@ SetRuntimeProfilingStack(JSRuntime *rt, 
 
 JS_FRIEND_API(void)
 EnableRuntimeProfilingStack(JSRuntime *rt, bool enabled);
 
 JS_FRIEND_API(jsbytecode*)
 ProfilingGetPC(JSRuntime *rt, JSScript *script, void *ip);
 
 #ifdef JS_THREADSAFE
-JS_FRIEND_API(void *)
-GetOwnerThread(const JSContext *cx);
-
 JS_FRIEND_API(bool)
 ContextHasOutstandingRequests(const JSContext *cx);
 #endif
 
 JS_FRIEND_API(bool)
 HasUnrootedGlobal(const JSContext *cx);
 
 typedef void