mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Mac profiler code crept in. Removed this ifdef'd cruft.
This commit is contained in:
parent
fd32fa05d8
commit
c2a423e07a
@ -61,9 +61,6 @@
|
||||
#include "nsIEventQueueService.h"
|
||||
#include "nsProxyObjectManager.h"
|
||||
|
||||
#ifdef XP_MAC
|
||||
#include <profiler.h>
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Globals
|
||||
@ -292,9 +289,6 @@ nsSoftwareUpdate::InstallJar( nsIFileSpec* aLocalFile,
|
||||
long flags,
|
||||
nsIXPINotifier* aNotifier)
|
||||
{
|
||||
#ifdef __PROFILER__
|
||||
ProfilerInit(collectDetailed, bestTimeBase, 2000, 2000);
|
||||
#endif
|
||||
if ( !aLocalFile )
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
@ -309,10 +303,6 @@ nsSoftwareUpdate::InstallJar( nsIFileSpec* aLocalFile,
|
||||
PR_Unlock(mLock);
|
||||
RunNextInstall();
|
||||
|
||||
#ifdef __PROFILER__
|
||||
ProfilerDump("\pXPI_PofileDump");
|
||||
ProfilerTerm();
|
||||
#endif
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user