VirtualBox

Changeset 101803 in vbox


Ignore:
Timestamp:
Nov 5, 2023 9:09:38 AM (15 months ago)
Author:
vboxsync
Message:

libs/xpcom: Get rid of code used only if MOZ_TIMELINE is defined which we never do, bugref:10545

Location:
trunk/src/libs/xpcom18a4
Files:
3 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Config.kmk

    r98394 r101803  
    412412        xpcom/ds/nsISupportsIterators.idl \
    413413        xpcom/ds/nsIVariant.idl \
    414         xpcom/ds/nsITimelineService.idl \
    415414        xpcom/ds/nsIArray.idl \
    416415        xpcom/ds/nsIPropertyBag.idl \
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r101799 r101803  
    645645        xpcom/ds/nsVariant.cpp \
    646646        xpcom/ds/nsVoidArray.cpp \
    647         xpcom/ds/nsTimelineService.cpp \
    648647        xpcom/ds/nsValueArray.cpp \
    649648        xpcom/ds/nsCOMArray.cpp \
     
    11951194                nsISupportsArray.xpt \
    11961195                nsISupportsIterators.xpt \
    1197                 nsITimelineService.xpt \
    11981196                nsIArray.xpt \
    11991197                nsIObserverService.xpt \
  • trunk/src/libs/xpcom18a4/python/src/loader/pyloader.cpp

    r58104 r101803  
    6666
    6767#endif
    68 
    69 #include "nsITimelineService.h"
    7068
    7169typedef nsresult (*pfnPyXPCOM_NSGetModule)(nsIComponentManager *servMgr,
     
    185183        PRBool bDidInitPython = !Py_IsInitialized(); // well, I will next line, anyway :-)
    186184        if (bDidInitPython) {
    187                 NS_TIMELINE_START_TIMER("PyXPCOM: Python initializing");
    188185                Py_Initialize();
    189186                if (!Py_IsInitialized()) {
     
    195192#endif // NS_DEBUG
    196193                PyEval_InitThreads();
    197                 NS_TIMELINE_STOP_TIMER("PyXPCOM: Python initializing");
    198                 NS_TIMELINE_MARK_TIMER("PyXPCOM: Python initializing");
    199194        }
    200195        // Get the Python interpreter state
    201         NS_TIMELINE_START_TIMER("PyXPCOM: Python threadstate setup");
    202196#ifndef PYXPCOM_USE_PYGILSTATE
    203197        PyThreadState *threadStateCreated = NULL;
     
    218212        PyGILState_STATE state = PyGILState_Ensure();
    219213#endif // PYXPCOM_USE_PYGILSTATE
    220 #ifdef MOZ_TIMELINE
    221         // If the timeline service is installed, see if we can install our hooks.
    222         if (NULL==PyImport_ImportModule("timeline_hook")) {
    223                 if (!PyErr_ExceptionMatches(PyExc_ImportError))
    224                         LogError("Failed to import 'timeline_hook'");
    225                 PyErr_Clear(); // but don't care if we can't.
    226         }
    227 #endif
    228214        // Add the standard paths always - we may not have been the first to
    229215        // init Python.
     
    249235#endif
    250236
    251         NS_TIMELINE_STOP_TIMER("PyXPCOM: Python threadstate setup");
    252         NS_TIMELINE_MARK_TIMER("PyXPCOM: Python threadstate setup");
    253         NS_TIMELINE_START_TIMER("PyXPCOM: PyXPCOM NSGetModule entry point");
    254237        nsresult rc = PyXPCOM_NSGetModule(servMgr, location, result);
    255         NS_TIMELINE_STOP_TIMER("PyXPCOM: PyXPCOM NSGetModule entry point");
    256         NS_TIMELINE_MARK_TIMER("PyXPCOM: PyXPCOM NSGetModule entry point");
    257238        return rc;
    258239}
  • trunk/src/libs/xpcom18a4/xpcom/build/nsXPComInit.cpp

    r101777 r101803  
    106106#include "nsAtomTable.h"
    107107#include "nsTraceRefcnt.h"
    108 #include "nsTimelineService.h"
    109108
    110109#include "nsVariant.h"
     
    198197NS_GENERIC_FACTORY_CONSTRUCTOR(nsRecyclingAllocatorImpl)
    199198
    200 #ifdef MOZ_TIMELINE
    201 NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimelineService)
    202 #endif
    203 
    204199static NS_METHOD
    205200nsXPTIInterfaceInfoManagerGetSingleton(nsISupports* outer,
     
    369364    COMPONENT(EXCEPTIONSERVICE, nsExceptionServiceConstructor),
    370365    COMPONENT(ATOMSERVICE, nsAtomServiceConstructor),
    371 #ifdef MOZ_TIMELINE
    372     COMPONENT(TIMELINESERVICE, nsTimelineServiceConstructor),
    373 #endif
    374366    COMPONENT(OBSERVERSERVICE, nsObserverService::Create),
    375367    COMPONENT(GENERICFACTORY, nsGenericFactory::Create),
  • trunk/src/libs/xpcom18a4/xpcom/components/xcDll.cpp

    r31259 r101803  
    5555#include "nsCRT.h"
    5656#include "nsString.h"
    57 #include "nsITimelineService.h"
    5857#include "nsModule.h"
    5958#ifdef DEBUG
  • trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileUnix.cpp

    r62375 r101803  
    7979#include "prproces.h"
    8080#include "nsISimpleEnumerator.h"
    81 #include "nsITimelineService.h"
    8281
    8382#include "nsNativeCharsetUtils.h"
     
    15381537    NS_ENSURE_ARG_POINTER(_retval);
    15391538
    1540     NS_TIMELINE_START_TIMER("PR_LoadLibrary");
    1541 
    15421539    *_retval = PR_LoadLibrary(mPath.get());
    1543 
    1544     NS_TIMELINE_STOP_TIMER("PR_LoadLibrary");
    1545     NS_TIMELINE_MARK_TIMER1("PR_LoadLibrary", mPath.get());
    15461540
    15471541    if (!*_retval)
  • trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileWin.cpp

    r62374 r101803  
    6868#include "nsXPIDLString.h"
    6969#include "prproces.h"
    70 #include "nsITimelineService.h"
    7170
    7271#include "nsAutoLock.h"
     
    13391338        return NS_ERROR_FILE_IS_DIRECTORY;
    13401339
    1341     NS_TIMELINE_START_TIMER("PR_LoadLibrary");
    13421340    *_retval =  PR_LoadLibrary(mResolvedPath.get());
    1343     NS_TIMELINE_STOP_TIMER("PR_LoadLibrary");
    1344     NS_TIMELINE_MARK_TIMER1("PR_LoadLibrary", mResolvedPath.get());
    1345 
    13461341    if (*_retval)
    13471342        return NS_OK;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette