From 0c7a2498495de91594e1b4dd83d7738ead54803d Mon Sep 17 00:00:00 2001 From: "jdunn%netscape.com" Date: Thu, 11 Nov 1999 21:35:34 +0000 Subject: [PATCH] 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 --- content/base/src/nsStyleSet.cpp | 2 +- content/html/document/src/nsHTMLContentSink.cpp | 2 +- docshell/base/nsWebShell.cpp | 2 +- htmlparser/src/nsParser.h | 6 +++--- layout/base/nsPresShell.cpp | 4 ++-- layout/base/src/nsStyleSet.cpp | 2 +- layout/html/base/src/nsPresShell.cpp | 4 ++-- layout/html/document/src/nsHTMLContentSink.cpp | 2 +- layout/style/nsStyleSet.cpp | 2 +- parser/htmlparser/src/nsParser.h | 6 +++--- webshell/src/nsWebShell.cpp | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/content/base/src/nsStyleSet.cpp b/content/base/src/nsStyleSet.cpp index b7733614341b..a98a484d9b32 100644 --- a/content/base/src/nsStyleSet.cpp +++ b/content/base/src/nsStyleSet.cpp @@ -200,7 +200,7 @@ protected: nsIStyleFrameConstruction* mFrameConstructor; - MOZ_TIMER_DECLARE(mStyleResolutionWatch); + MOZ_TIMER_DECLARE(mStyleResolutionWatch) }; StyleSetImpl::StyleSetImpl() diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index ec86d4a22a72..d3e8a5d4aecd 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -285,7 +285,7 @@ public: void ForceReflow(); #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 { diff --git a/docshell/base/nsWebShell.cpp b/docshell/base/nsWebShell.cpp index 7893cca9f280..81698794474c 100644 --- a/docshell/base/nsWebShell.cpp +++ b/docshell/base/nsWebShell.cpp @@ -492,7 +492,7 @@ protected: // if there is no mWindow, this will keep track of the bounds --dwc0001 nsRect mBounds; - MOZ_TIMER_DECLARE(mTotalTime); + MOZ_TIMER_DECLARE(mTotalTime) #ifdef DETECT_WEBSHELL_LEAKS private: diff --git a/htmlparser/src/nsParser.h b/htmlparser/src/nsParser.h index 09e6e57b7bb6..3cabb15f2118 100644 --- a/htmlparser/src/nsParser.h +++ b/htmlparser/src/nsParser.h @@ -384,9 +384,9 @@ protected: CObserverService mObserverService; public: - MOZ_TIMER_DECLARE(mParseTime); - MOZ_TIMER_DECLARE(mDTDTime); - MOZ_TIMER_DECLARE(mTokenizeTime); + MOZ_TIMER_DECLARE(mParseTime) + MOZ_TIMER_DECLARE(mDTDTime) + MOZ_TIMER_DECLARE(mTokenizeTime) }; #endif diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index 48f87f305906..e224d810bf4f 100644 --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -379,8 +379,8 @@ protected: PRBool mPendingReflowEvent; nsCOMPtr mEventQueue; - 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(mReflowWatch) // Used for measuring time spent in reflow + MOZ_TIMER_DECLARE(mFrameCreationWatch) // Used for measuring time spent in frame creation #ifdef DEBUG_nisheeth PRInt32 mReflows; diff --git a/layout/base/src/nsStyleSet.cpp b/layout/base/src/nsStyleSet.cpp index b7733614341b..a98a484d9b32 100644 --- a/layout/base/src/nsStyleSet.cpp +++ b/layout/base/src/nsStyleSet.cpp @@ -200,7 +200,7 @@ protected: nsIStyleFrameConstruction* mFrameConstructor; - MOZ_TIMER_DECLARE(mStyleResolutionWatch); + MOZ_TIMER_DECLARE(mStyleResolutionWatch) }; StyleSetImpl::StyleSetImpl() diff --git a/layout/html/base/src/nsPresShell.cpp b/layout/html/base/src/nsPresShell.cpp index 48f87f305906..e224d810bf4f 100644 --- a/layout/html/base/src/nsPresShell.cpp +++ b/layout/html/base/src/nsPresShell.cpp @@ -379,8 +379,8 @@ protected: PRBool mPendingReflowEvent; nsCOMPtr mEventQueue; - 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(mReflowWatch) // Used for measuring time spent in reflow + MOZ_TIMER_DECLARE(mFrameCreationWatch) // Used for measuring time spent in frame creation #ifdef DEBUG_nisheeth PRInt32 mReflows; diff --git a/layout/html/document/src/nsHTMLContentSink.cpp b/layout/html/document/src/nsHTMLContentSink.cpp index ec86d4a22a72..d3e8a5d4aecd 100644 --- a/layout/html/document/src/nsHTMLContentSink.cpp +++ b/layout/html/document/src/nsHTMLContentSink.cpp @@ -285,7 +285,7 @@ public: void ForceReflow(); #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 { diff --git a/layout/style/nsStyleSet.cpp b/layout/style/nsStyleSet.cpp index b7733614341b..a98a484d9b32 100644 --- a/layout/style/nsStyleSet.cpp +++ b/layout/style/nsStyleSet.cpp @@ -200,7 +200,7 @@ protected: nsIStyleFrameConstruction* mFrameConstructor; - MOZ_TIMER_DECLARE(mStyleResolutionWatch); + MOZ_TIMER_DECLARE(mStyleResolutionWatch) }; StyleSetImpl::StyleSetImpl() diff --git a/parser/htmlparser/src/nsParser.h b/parser/htmlparser/src/nsParser.h index 09e6e57b7bb6..3cabb15f2118 100644 --- a/parser/htmlparser/src/nsParser.h +++ b/parser/htmlparser/src/nsParser.h @@ -384,9 +384,9 @@ protected: CObserverService mObserverService; public: - MOZ_TIMER_DECLARE(mParseTime); - MOZ_TIMER_DECLARE(mDTDTime); - MOZ_TIMER_DECLARE(mTokenizeTime); + MOZ_TIMER_DECLARE(mParseTime) + MOZ_TIMER_DECLARE(mDTDTime) + MOZ_TIMER_DECLARE(mTokenizeTime) }; #endif diff --git a/webshell/src/nsWebShell.cpp b/webshell/src/nsWebShell.cpp index 7893cca9f280..81698794474c 100644 --- a/webshell/src/nsWebShell.cpp +++ b/webshell/src/nsWebShell.cpp @@ -492,7 +492,7 @@ protected: // if there is no mWindow, this will keep track of the bounds --dwc0001 nsRect mBounds; - MOZ_TIMER_DECLARE(mTotalTime); + MOZ_TIMER_DECLARE(mTotalTime) #ifdef DETECT_WEBSHELL_LEAKS private: