diff --git a/accessible/base/NotificationController.cpp b/accessible/base/NotificationController.cpp index 1c078a16e08..b566dd43d33 100644 --- a/accessible/base/NotificationController.cpp +++ b/accessible/base/NotificationController.cpp @@ -141,7 +141,6 @@ NotificationController::IsUpdatePending() void NotificationController::WillRefresh(mozilla::TimeStamp aTime) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); Telemetry::AutoTimer updateTimer; // If the document accessible that notification collector was created for is diff --git a/dom/base/nsFrameLoader.cpp b/dom/base/nsFrameLoader.cpp index 2261c2f0114..c4477afd18a 100644 --- a/dom/base/nsFrameLoader.cpp +++ b/dom/base/nsFrameLoader.cpp @@ -781,7 +781,6 @@ bool nsFrameLoader::ShowRemoteFrame(const ScreenIntSize& size, nsSubDocumentFrame *aFrame) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GRAPHICS); NS_ASSERTION(IsRemoteFrame(), "ShowRemote only makes sense on remote frames."); if (!mRemoteBrowser && !TryRemoteBrowser()) { diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index 3cda5200b47..08c8e6af565 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -1335,8 +1335,6 @@ nsJSContext::ShrinkGCBuffersNow() static void FinishAnyIncrementalGC() { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GC); - if (sCCLockedOut) { // We're in the middle of an incremental GC, so finish it. JS::PrepareForIncrementalGC(sRuntime); diff --git a/dom/base/nsObjectLoadingContent.cpp b/dom/base/nsObjectLoadingContent.cpp index fa8eb49f65a..035a019883e 100644 --- a/dom/base/nsObjectLoadingContent.cpp +++ b/dom/base/nsObjectLoadingContent.cpp @@ -3102,7 +3102,6 @@ nsObjectLoadingContent::DoStopPlugin(nsPluginInstanceOwner* aInstanceOwner, NS_IMETHODIMP nsObjectLoadingContent::StopPluginInstance() { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); // Clear any pending events mPendingInstantiateEvent = nullptr; mPendingCheckPluginStopEvent = nullptr; diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp index 0a68b209e31..f9ff4f409a7 100644 --- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -1237,8 +1237,6 @@ ContentParent::CreateBrowserOrApp(const TabContext& aContext, Element* aFrameElement, ContentParent* aOpenerContentParent) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - if (!sCanLaunchSubprocesses) { return nullptr; } @@ -2388,8 +2386,6 @@ ContentParent::InitializeMembers() bool ContentParent::LaunchSubprocess(ProcessPriority aInitialPriority /* = PROCESS_PRIORITY_FOREGROUND */) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - std::vector extraArgs; if (mIsNuwaProcess) { extraArgs.push_back("-nuwa"); @@ -3646,8 +3642,6 @@ ContentParent::ForceKillTimerCallback(nsITimer* aTimer, void* aClosure) void ContentParent::KillHard(const char* aReason) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - // On Windows, calling KillHard multiple times causes problems - the // process handle becomes invalid on the first call, causing a second call // to crash our process - more details in bug 890840. diff --git a/dom/media/webspeech/synth/windows/SapiService.cpp b/dom/media/webspeech/synth/windows/SapiService.cpp index 1aa58cfbca5..22f5fa4cdd8 100644 --- a/dom/media/webspeech/synth/windows/SapiService.cpp +++ b/dom/media/webspeech/synth/windows/SapiService.cpp @@ -196,8 +196,6 @@ SapiService::~SapiService() bool SapiService::Init() { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - MOZ_ASSERT(!mInitialized); if (Preferences::GetBool("media.webspeech.synth.test") || diff --git a/dom/plugins/base/nsJSNPRuntime.cpp b/dom/plugins/base/nsJSNPRuntime.cpp index 130ab7d89b4..8b91297e56d 100644 --- a/dom/plugins/base/nsJSNPRuntime.cpp +++ b/dom/plugins/base/nsJSNPRuntime.cpp @@ -1646,8 +1646,6 @@ NPObjWrapper_Resolve(JSContext *cx, JS::Handle obj, JS::Handle if (JSID_IS_SYMBOL(id)) return true; - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::JS); - NPObject *npobj = GetNPObject(cx, obj); if (!npobj || !npobj->_class || !npobj->_class->hasProperty || @@ -2112,8 +2110,6 @@ static bool NPObjectMember_GetProperty(JSContext *cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - if (JSID_IS_SYMBOL(id)) { JS::RootedSymbol sym(cx, JSID_TO_SYMBOL(id)); if (JS::GetSymbolCode(sym) == JS::SymbolCode::toPrimitive) { diff --git a/dom/plugins/base/nsNPAPIPlugin.cpp b/dom/plugins/base/nsNPAPIPlugin.cpp index c437147aca9..2438da164be 100644 --- a/dom/plugins/base/nsNPAPIPlugin.cpp +++ b/dom/plugins/base/nsNPAPIPlugin.cpp @@ -265,8 +265,6 @@ nsNPAPIPlugin::RunPluginOOP(const nsPluginTag *aPluginTag) inline PluginLibrary* GetNewPluginLibrary(nsPluginTag *aPluginTag) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - if (!aPluginTag) { return nullptr; } @@ -285,7 +283,6 @@ GetNewPluginLibrary(nsPluginTag *aPluginTag) nsresult nsNPAPIPlugin::CreatePlugin(nsPluginTag *aPluginTag, nsNPAPIPlugin** aResult) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); *aResult = nullptr; if (!aPluginTag) { diff --git a/dom/plugins/base/nsNPAPIPluginInstance.cpp b/dom/plugins/base/nsNPAPIPluginInstance.cpp index e99010ead15..b2f1ad374b6 100644 --- a/dom/plugins/base/nsNPAPIPluginInstance.cpp +++ b/dom/plugins/base/nsNPAPIPluginInstance.cpp @@ -280,7 +280,6 @@ nsNPAPIPluginInstance::StopTime() nsresult nsNPAPIPluginInstance::Initialize(nsNPAPIPlugin *aPlugin, nsPluginInstanceOwner* aOwner, const nsACString& aMIMEType) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); PLUGIN_LOG(PLUGIN_LOG_NORMAL, ("nsNPAPIPluginInstance::Initialize this=%p\n",this)); NS_ENSURE_ARG_POINTER(aPlugin); @@ -656,8 +655,6 @@ nsresult nsNPAPIPluginInstance::HandleEvent(void* event, int16_t* result, if (RUNNING != mRunning) return NS_OK; - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - if (!event) return NS_ERROR_FAILURE; diff --git a/dom/plugins/base/nsNPAPIPluginStreamListener.cpp b/dom/plugins/base/nsNPAPIPluginStreamListener.cpp index 0f500a1ae45..f5f0c40007a 100644 --- a/dom/plugins/base/nsNPAPIPluginStreamListener.cpp +++ b/dom/plugins/base/nsNPAPIPluginStreamListener.cpp @@ -286,7 +286,6 @@ nsNPAPIPluginStreamListener::CallURLNotify(NPReason reason) nsresult nsNPAPIPluginStreamListener::OnStartBinding(nsPluginStreamListenerPeer* streamPeer) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); if (!mInst || !mInst->CanFireNotifications() || mStreamCleanedUp) return NS_ERROR_FAILURE; diff --git a/dom/plugins/base/nsPluginHost.cpp b/dom/plugins/base/nsPluginHost.cpp index 9b36fa542df..b132753d90a 100644 --- a/dom/plugins/base/nsPluginHost.cpp +++ b/dom/plugins/base/nsPluginHost.cpp @@ -1366,7 +1366,6 @@ nsresult nsPluginHost::EnsurePluginLoaded(nsPluginTag* aPluginTag) nsresult nsPluginHost::GetPluginForContentProcess(uint32_t aPluginId, nsNPAPIPlugin** aPlugin) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); MOZ_ASSERT(XRE_IsParentProcess()); // If plugins haven't been scanned yet, do so now @@ -3522,7 +3521,6 @@ nsPluginHost::AddHeadersToChannel(const char *aHeadersData, nsresult nsPluginHost::StopPluginInstance(nsNPAPIPluginInstance* aInstance) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); if (PluginDestructionGuard::DelayDestroy(aInstance)) { return NS_OK; } diff --git a/dom/plugins/base/nsPluginInstanceOwner.cpp b/dom/plugins/base/nsPluginInstanceOwner.cpp index b29981bae22..31446ad2811 100644 --- a/dom/plugins/base/nsPluginInstanceOwner.cpp +++ b/dom/plugins/base/nsPluginInstanceOwner.cpp @@ -3600,8 +3600,6 @@ nsPluginInstanceOwner::UpdateWindowVisibility(bool aVisible) void nsPluginInstanceOwner::UpdateDocumentActiveState(bool aIsActive) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - mPluginDocumentActiveState = aIsActive; #ifndef XP_MACOSX UpdateWindowPositionAndClipRect(true); diff --git a/dom/plugins/ipc/PluginModuleParent.cpp b/dom/plugins/ipc/PluginModuleParent.cpp index 4ee3198bc4f..485a12e824d 100755 --- a/dom/plugins/ipc/PluginModuleParent.cpp +++ b/dom/plugins/ipc/PluginModuleParent.cpp @@ -110,7 +110,6 @@ mozilla::plugins::SetupBridge(uint32_t aPluginId, nsresult* rv, uint32_t* runID) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); if (NS_WARN_IF(!rv) || NS_WARN_IF(!runID)) { return false; } diff --git a/dom/storage/DOMStorageDBThread.cpp b/dom/storage/DOMStorageDBThread.cpp index 37adce11f8f..69142203cb8 100644 --- a/dom/storage/DOMStorageDBThread.cpp +++ b/dom/storage/DOMStorageDBThread.cpp @@ -154,7 +154,6 @@ DOMStorageDBThread::Shutdown() void DOMStorageDBThread::SyncPreload(DOMStorageCacheBridge* aCache, bool aForceSync) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::STORAGE); if (!aForceSync && aCache->LoadedCount()) { // Preload already started for this cache, just wait for it to finish. // LoadWait will exit after LoadDone on the cache has been called. diff --git a/gfx/layers/client/TextureClient.cpp b/gfx/layers/client/TextureClient.cpp index 0922ea2d319..fb64b5657fd 100644 --- a/gfx/layers/client/TextureClient.cpp +++ b/gfx/layers/client/TextureClient.cpp @@ -206,7 +206,6 @@ static void DestroyTextureData(TextureData* aTextureData, ISurfaceAllocator* aAl void TextureChild::ActorDestroy(ActorDestroyReason why) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GRAPHICS); mWaitForRecycle = nullptr; if (mTextureData) { diff --git a/gfx/thebes/gfxDWriteFontList.cpp b/gfx/thebes/gfxDWriteFontList.cpp index 808341a445b..269b87084d2 100644 --- a/gfx/thebes/gfxDWriteFontList.cpp +++ b/gfx/thebes/gfxDWriteFontList.cpp @@ -524,8 +524,6 @@ gfxDWriteFontEntry::GetFontTable(uint32_t aTag) nsresult gfxDWriteFontEntry::ReadCMAP(FontInfoData *aFontInfoData) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GRAPHICS); - // attempt this once, if errors occur leave a blank cmap if (mCharacterMap) { return NS_OK; diff --git a/gfx/thebes/gfxGDIFontList.cpp b/gfx/thebes/gfxGDIFontList.cpp index 51e3c98db22..acb29b644ec 100644 --- a/gfx/thebes/gfxGDIFontList.cpp +++ b/gfx/thebes/gfxGDIFontList.cpp @@ -143,8 +143,6 @@ GDIFontEntry::GDIFontEntry(const nsAString& aFaceName, nsresult GDIFontEntry::ReadCMAP(FontInfoData *aFontInfoData) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - // attempt this once, if errors occur leave a blank cmap if (mCharacterMap) { return NS_OK; diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp index b9230d211b6..6d1867daf06 100755 --- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -1205,8 +1205,6 @@ InvalidateWindowForDeviceReset(HWND aWnd, LPARAM aMsg) bool gfxWindowsPlatform::UpdateForDeviceReset() { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GRAPHICS); - if (!DidRenderingDeviceReset()) { return false; } diff --git a/image/FrameAnimator.cpp b/image/FrameAnimator.cpp index f1d8faea740..f87ce242e0b 100644 --- a/image/FrameAnimator.cpp +++ b/image/FrameAnimator.cpp @@ -79,7 +79,6 @@ FrameAnimator::AdvanceFrame(TimeStamp aTime) { NS_ASSERTION(aTime <= TimeStamp::Now(), "Given time appears to be in the future"); - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::GRAPHICS); uint32_t currentFrameIndex = mCurrentAnimationFrameIndex; uint32_t nextFrameIndex = currentFrameIndex + 1; diff --git a/ipc/glue/GeckoChildProcessHost.cpp b/ipc/glue/GeckoChildProcessHost.cpp index 0c3f6da1b32..f140d000b0b 100644 --- a/ipc/glue/GeckoChildProcessHost.cpp +++ b/ipc/glue/GeckoChildProcessHost.cpp @@ -381,8 +381,6 @@ GeckoChildProcessHost::AsyncLaunch(std::vector aExtraOpts, bool GeckoChildProcessHost::WaitUntilConnected(int32_t aTimeoutMs) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - // NB: this uses a different mechanism than the chromium parent // class. PRIntervalTime timeoutTicks = (aTimeoutMs > 0) ? diff --git a/js/ipc/WrapperOwner.cpp b/js/ipc/WrapperOwner.cpp index 93426e7ed8f..60093070352 100644 --- a/js/ipc/WrapperOwner.cpp +++ b/js/ipc/WrapperOwner.cpp @@ -145,7 +145,6 @@ const char CPOWProxyHandler::family = 0; const CPOWProxyHandler CPOWProxyHandler::singleton; #define FORWARD(call, args) \ - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::JS); \ WrapperOwner* owner = OwnerOf(proxy); \ if (!owner->active()) { \ JS_ReportError(cx, "cannot use a CPOW whose process is gone"); \ diff --git a/js/xpconnect/src/XPCComponents.cpp b/js/xpconnect/src/XPCComponents.cpp index fad59a1ff58..982c615cdac 100644 --- a/js/xpconnect/src/XPCComponents.cpp +++ b/js/xpconnect/src/XPCComponents.cpp @@ -3010,7 +3010,6 @@ nsXPCComponents_Utils::SetGCZeal(int32_t aValue, JSContext* cx) NS_IMETHODIMP nsXPCComponents_Utils::NukeSandbox(HandleValue obj, JSContext* cx) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::JS); NS_ENSURE_TRUE(obj.isObject(), NS_ERROR_INVALID_ARG); JSObject* wrapper = &obj.toObject(); NS_ENSURE_TRUE(IsWrapper(wrapper), NS_ERROR_INVALID_ARG); diff --git a/js/xpconnect/wrappers/AddonWrapper.cpp b/js/xpconnect/wrappers/AddonWrapper.cpp index 46645b2c4bb..bfc3e2e5937 100644 --- a/js/xpconnect/wrappers/AddonWrapper.cpp +++ b/js/xpconnect/wrappers/AddonWrapper.cpp @@ -14,8 +14,6 @@ #include "mozilla/dom/BindingUtils.h" #include "nsGlobalWindow.h" -#include "GeckoProfiler.h" - #include "nsID.h" using namespace js; @@ -174,8 +172,6 @@ bool AddonWrapper::get(JSContext* cx, JS::Handle wrapper, JS::Handle receiver, JS::Handle id, JS::MutableHandle vp) const { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - Rooted desc(cx); if (!InterposeProperty(cx, wrapper, nullptr, id, &desc)) return false; diff --git a/layout/generic/nsSubDocumentFrame.cpp b/layout/generic/nsSubDocumentFrame.cpp index 9f4703b7295..ebb6f787cd9 100644 --- a/layout/generic/nsSubDocumentFrame.cpp +++ b/layout/generic/nsSubDocumentFrame.cpp @@ -82,7 +82,6 @@ public: explicit AsyncFrameInit(nsIFrame* aFrame) : mFrame(aFrame) {} NS_IMETHOD Run() { - PROFILER_LABEL("mozilla", "AsyncFrameInit::Run", js::ProfileEntry::Category::OTHER); if (mFrame.IsAlive()) { static_cast(mFrame.GetFrame())->ShowViewer(); } diff --git a/startupcache/StartupCache.cpp b/startupcache/StartupCache.cpp index 5bd92624557..bf505c42e53 100644 --- a/startupcache/StartupCache.cpp +++ b/startupcache/StartupCache.cpp @@ -305,10 +305,7 @@ GetBufferFromZipArchive(nsZipArchive *zip, bool doCRC, const char* id, nsresult StartupCache::GetBuffer(const char* id, char** outbuf, uint32_t* length) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - NS_ASSERTION(NS_IsMainThread(), "Startup cache only available on main thread"); - WaitOnWriteThread(); if (!mStartupWriteInitiated) { CacheEntry* entry; diff --git a/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp b/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp index 47e9d4faf78..7250cb889dd 100644 --- a/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp +++ b/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp @@ -1310,7 +1310,6 @@ nsUrlClassifierDBService::ClassifyLocalWithTables(nsIURI *aURI, const nsACString & aTables, nsACString & aTableResults) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); MOZ_ASSERT(NS_IsMainThread(), "ClassifyLocalWithTables must be on main thread"); nsCOMPtr uri = NS_GetInnermostURI(aURI); diff --git a/toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp b/toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp index 160965b81b0..941de81e1ae 100644 --- a/toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp +++ b/toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp @@ -203,7 +203,6 @@ nsWindowsSystemProxySettings::PatternMatch(const nsACString& aHost, nsresult nsWindowsSystemProxySettings::GetPACURI(nsACString& aResult) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::STORAGE); nsresult rv; uint32_t flags = 0; nsAutoString buf; diff --git a/toolkit/xre/nsXREDirProvider.cpp b/toolkit/xre/nsXREDirProvider.cpp index fe6d7826cb5..d90887964bb 100644 --- a/toolkit/xre/nsXREDirProvider.cpp +++ b/toolkit/xre/nsXREDirProvider.cpp @@ -910,8 +910,6 @@ nsXREDirProvider::DoStartup() void nsXREDirProvider::DoShutdown() { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - if (mProfileNotified) { nsCOMPtr obsSvc = mozilla::services::GetObserverService(); diff --git a/widget/nsBaseDragService.cpp b/widget/nsBaseDragService.cpp index eff398cd69d..97e315706ad 100644 --- a/widget/nsBaseDragService.cpp +++ b/widget/nsBaseDragService.cpp @@ -211,8 +211,6 @@ nsBaseDragService::InvokeDragSession(nsIDOMNode *aDOMNode, nsIScriptableRegion* aDragRgn, uint32_t aActionType) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - NS_ENSURE_TRUE(aDOMNode, NS_ERROR_INVALID_ARG); NS_ENSURE_TRUE(mSuppressLevel == 0, NS_ERROR_FAILURE); diff --git a/widget/windows/nsFilePicker.cpp b/widget/windows/nsFilePicker.cpp index caa473ad755..0a1fb327f75 100644 --- a/widget/windows/nsFilePicker.cpp +++ b/widget/windows/nsFilePicker.cpp @@ -868,7 +868,6 @@ nsFilePicker::ShowXPFilePicker(const nsString& aInitialDir) bool nsFilePicker::ShowFilePicker(const nsString& aInitialDir, bool &aWasInitError) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); RefPtr dialog; if (mMode != modeSave) { if (FAILED(CoCreateInstance(CLSID_FileOpenDialog, nullptr, CLSCTX_INPROC, diff --git a/xpcom/io/FileUtilsWin.cpp b/xpcom/io/FileUtilsWin.cpp index 349bd8496e3..6781264ecf6 100644 --- a/xpcom/io/FileUtilsWin.cpp +++ b/xpcom/io/FileUtilsWin.cpp @@ -36,8 +36,6 @@ bool HandleToFilename(HANDLE aHandle, const LARGE_INTEGER& aOffset, nsAString& aFilename) { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::NETWORK); - aFilename.Truncate(); // This implementation is nice because it uses fully documented APIs that // are available on all Windows versions that we support. diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp index bdf28b7d8d0..7eec0280ae1 100644 --- a/xpcom/io/nsLocalFileWin.cpp +++ b/xpcom/io/nsLocalFileWin.cpp @@ -1070,7 +1070,6 @@ nsLocalFile::ResolveAndStat() return NS_OK; } - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); // we can't resolve/stat anything that isn't a valid NSPR addressable path if (mWorkingPath.IsEmpty()) { return NS_ERROR_FILE_INVALID_PATH; diff --git a/xpfe/appshell/nsXULWindow.cpp b/xpfe/appshell/nsXULWindow.cpp index 675a2ff4ce0..221f1b66934 100644 --- a/xpfe/appshell/nsXULWindow.cpp +++ b/xpfe/appshell/nsXULWindow.cpp @@ -383,8 +383,6 @@ NS_IMETHODIMP nsXULWindow::RemoveChildWindow(nsIXULWindow *aChild) NS_IMETHODIMP nsXULWindow::ShowModal() { - PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER); - // Store locally so it doesn't die on us nsCOMPtr window = mWindow; nsCOMPtr tempRef = this;