зеркало из https://github.com/mozilla/gecko-dev.git
removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'. NOTE: trying to compile a ';' fails on AIX
This commit is contained in:
Родитель
76b0c270fb
Коммит
0c7a249849
|
@ -200,7 +200,7 @@ protected:
|
||||||
|
|
||||||
nsIStyleFrameConstruction* mFrameConstructor;
|
nsIStyleFrameConstruction* mFrameConstructor;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mStyleResolutionWatch);
|
MOZ_TIMER_DECLARE(mStyleResolutionWatch)
|
||||||
};
|
};
|
||||||
|
|
||||||
StyleSetImpl::StyleSetImpl()
|
StyleSetImpl::StyleSetImpl()
|
||||||
|
|
|
@ -285,7 +285,7 @@ public:
|
||||||
void ForceReflow();
|
void ForceReflow();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mWatch); // Measures content model creation time for current document
|
MOZ_TIMER_DECLARE(mWatch) // Measures content model creation time for current document
|
||||||
};
|
};
|
||||||
|
|
||||||
class SinkContext {
|
class SinkContext {
|
||||||
|
|
|
@ -492,7 +492,7 @@ protected:
|
||||||
// if there is no mWindow, this will keep track of the bounds --dwc0001
|
// if there is no mWindow, this will keep track of the bounds --dwc0001
|
||||||
nsRect mBounds;
|
nsRect mBounds;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mTotalTime);
|
MOZ_TIMER_DECLARE(mTotalTime)
|
||||||
|
|
||||||
#ifdef DETECT_WEBSHELL_LEAKS
|
#ifdef DETECT_WEBSHELL_LEAKS
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -384,9 +384,9 @@ protected:
|
||||||
CObserverService mObserverService;
|
CObserverService mObserverService;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MOZ_TIMER_DECLARE(mParseTime);
|
MOZ_TIMER_DECLARE(mParseTime)
|
||||||
MOZ_TIMER_DECLARE(mDTDTime);
|
MOZ_TIMER_DECLARE(mDTDTime)
|
||||||
MOZ_TIMER_DECLARE(mTokenizeTime);
|
MOZ_TIMER_DECLARE(mTokenizeTime)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -379,8 +379,8 @@ protected:
|
||||||
PRBool mPendingReflowEvent;
|
PRBool mPendingReflowEvent;
|
||||||
nsCOMPtr<nsIEventQueue> mEventQueue;
|
nsCOMPtr<nsIEventQueue> mEventQueue;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mReflowWatch); // Used for measuring time spent in reflow
|
MOZ_TIMER_DECLARE(mReflowWatch) // Used for measuring time spent in reflow
|
||||||
MOZ_TIMER_DECLARE(mFrameCreationWatch); // Used for measuring time spent in frame creation
|
MOZ_TIMER_DECLARE(mFrameCreationWatch) // Used for measuring time spent in frame creation
|
||||||
|
|
||||||
#ifdef DEBUG_nisheeth
|
#ifdef DEBUG_nisheeth
|
||||||
PRInt32 mReflows;
|
PRInt32 mReflows;
|
||||||
|
|
|
@ -200,7 +200,7 @@ protected:
|
||||||
|
|
||||||
nsIStyleFrameConstruction* mFrameConstructor;
|
nsIStyleFrameConstruction* mFrameConstructor;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mStyleResolutionWatch);
|
MOZ_TIMER_DECLARE(mStyleResolutionWatch)
|
||||||
};
|
};
|
||||||
|
|
||||||
StyleSetImpl::StyleSetImpl()
|
StyleSetImpl::StyleSetImpl()
|
||||||
|
|
|
@ -379,8 +379,8 @@ protected:
|
||||||
PRBool mPendingReflowEvent;
|
PRBool mPendingReflowEvent;
|
||||||
nsCOMPtr<nsIEventQueue> mEventQueue;
|
nsCOMPtr<nsIEventQueue> mEventQueue;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mReflowWatch); // Used for measuring time spent in reflow
|
MOZ_TIMER_DECLARE(mReflowWatch) // Used for measuring time spent in reflow
|
||||||
MOZ_TIMER_DECLARE(mFrameCreationWatch); // Used for measuring time spent in frame creation
|
MOZ_TIMER_DECLARE(mFrameCreationWatch) // Used for measuring time spent in frame creation
|
||||||
|
|
||||||
#ifdef DEBUG_nisheeth
|
#ifdef DEBUG_nisheeth
|
||||||
PRInt32 mReflows;
|
PRInt32 mReflows;
|
||||||
|
|
|
@ -285,7 +285,7 @@ public:
|
||||||
void ForceReflow();
|
void ForceReflow();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mWatch); // Measures content model creation time for current document
|
MOZ_TIMER_DECLARE(mWatch) // Measures content model creation time for current document
|
||||||
};
|
};
|
||||||
|
|
||||||
class SinkContext {
|
class SinkContext {
|
||||||
|
|
|
@ -200,7 +200,7 @@ protected:
|
||||||
|
|
||||||
nsIStyleFrameConstruction* mFrameConstructor;
|
nsIStyleFrameConstruction* mFrameConstructor;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mStyleResolutionWatch);
|
MOZ_TIMER_DECLARE(mStyleResolutionWatch)
|
||||||
};
|
};
|
||||||
|
|
||||||
StyleSetImpl::StyleSetImpl()
|
StyleSetImpl::StyleSetImpl()
|
||||||
|
|
|
@ -384,9 +384,9 @@ protected:
|
||||||
CObserverService mObserverService;
|
CObserverService mObserverService;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MOZ_TIMER_DECLARE(mParseTime);
|
MOZ_TIMER_DECLARE(mParseTime)
|
||||||
MOZ_TIMER_DECLARE(mDTDTime);
|
MOZ_TIMER_DECLARE(mDTDTime)
|
||||||
MOZ_TIMER_DECLARE(mTokenizeTime);
|
MOZ_TIMER_DECLARE(mTokenizeTime)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -492,7 +492,7 @@ protected:
|
||||||
// if there is no mWindow, this will keep track of the bounds --dwc0001
|
// if there is no mWindow, this will keep track of the bounds --dwc0001
|
||||||
nsRect mBounds;
|
nsRect mBounds;
|
||||||
|
|
||||||
MOZ_TIMER_DECLARE(mTotalTime);
|
MOZ_TIMER_DECLARE(mTotalTime)
|
||||||
|
|
||||||
#ifdef DETECT_WEBSHELL_LEAKS
|
#ifdef DETECT_WEBSHELL_LEAKS
|
||||||
private:
|
private:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче