diff --git a/js/src/xpconnect/shell/xpcshell.cpp b/js/src/xpconnect/shell/xpcshell.cpp index 47ad5dcaec5..2f01617d349 100644 --- a/js/src/xpconnect/shell/xpcshell.cpp +++ b/js/src/xpconnect/shell/xpcshell.cpp @@ -431,10 +431,10 @@ static JSFunctionSpec glob_functions[] = { {"dumpHeap", DumpHeap, 5,0,0}, #endif #ifdef MOZ_SHARK - {"startShark", StartShark, 0,0,0}, - {"stopShark", StopShark, 0,0,0}, - {"connectShark", ConnectShark, 0,0,0}, - {"disconnectShark", DisconnectShark,0,0,0}, + {"startShark", js_StartShark, 0,0,0}, + {"stopShark", js_StopShark, 0,0,0}, + {"connectShark", js_ConnectShark, 0,0,0}, + {"disconnectShark", js_DisconnectShark, 0,0,0}, #endif {nsnull,nsnull,0,0,0} };