Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
git-svn-id: svn://10.0.0.236/trunk@51196 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -489,7 +489,7 @@ protected:
|
||||
// if there is no mWindow, this will keep track of the bounds --dwc0001
|
||||
nsRect mBounds;
|
||||
|
||||
#ifdef RAPTOR_PERF_METRICS
|
||||
#ifdef MOZ_PERF_METRICS
|
||||
Stopwatch mTotalTime;
|
||||
#endif
|
||||
|
||||
@@ -2068,7 +2068,7 @@ nsWebShell::DoLoadURL(nsIURI * aUri,
|
||||
|
||||
mProcessedEndDocumentLoad = PR_FALSE;
|
||||
|
||||
#ifdef RAPTOR_PERF_METRICS
|
||||
#ifdef MOZ_PERF_METRICS
|
||||
{
|
||||
char* url;
|
||||
nsresult rv = NS_OK;
|
||||
@@ -3296,7 +3296,7 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
|
||||
nsresult aStatus,
|
||||
nsIDocumentLoaderObserver * aWebShell)
|
||||
{
|
||||
#ifdef RAPTOR_PERF_METRICS
|
||||
#ifdef MOZ_PERF_METRICS
|
||||
RAPTOR_STOPWATCH_DEBUGTRACE(("Stop: nsWebShell::OnEndDocumentLoad(), this=%p\n", this));
|
||||
NS_STOP_STOPWATCH(mTotalTime)
|
||||
RAPTOR_STOPWATCH_TRACE(("Total (Layout + Page Load) Time (webshell=%p): ", this));
|
||||
|
||||
Reference in New Issue
Block a user