Removing ifdef MOZ_PERF_METRICS code from docshell. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@56242 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1794,14 +1794,6 @@ nsDocShell::FireEndDocumentLoad(nsIDocumentLoader* aLoader,
|
||||
nsresult aStatus,
|
||||
nsIDocumentLoaderObserver * aDocLoadObserver)
|
||||
{
|
||||
#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));
|
||||
mTotalTime.Print();
|
||||
RAPTOR_STOPWATCH_TRACE(("\n"));
|
||||
#endif
|
||||
|
||||
NS_ENSURE_ARG_POINTER(aLoader);
|
||||
NS_ENSURE_ARG_POINTER(aChannel);
|
||||
// null aDocLoadObserver is legal
|
||||
|
||||
Reference in New Issue
Block a user