From 86c58a0fe4b235fd80dbb03a818518453706d00a Mon Sep 17 00:00:00 2001 From: "locka%iol.ie" Date: Thu, 19 Oct 2000 18:56:56 +0000 Subject: [PATCH] Removed unused variables made obselete by previous checkin. b=56285 git-svn-id: svn://10.0.0.236/trunk@81457 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/document/src/nsHTMLContentSink.cpp | 6 +----- mozilla/layout/html/document/src/nsHTMLContentSink.cpp | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp index 49ff2c97323..bb71c69854a 100644 --- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp @@ -351,8 +351,6 @@ public: nsString* mRef; nsScrollPreference mOriginalScrollPreference; - PRBool mNotAtRef; - nsIHTMLContent* mRefContent; nsString mBaseHREF; nsString mBaseTarget; @@ -2154,7 +2152,6 @@ HTMLContentSink::HTMLContentSink() { gSinkLogModuleInfo = PR_NewLogModule("htmlcontentsink"); } #endif - mNotAtRef = PR_TRUE; mInScript = 0; mInNotification = 0; mInMonolithicContainer = 0; @@ -2182,7 +2179,6 @@ HTMLContentSink::~HTMLContentSink() NS_IF_RELEASE(mCurrentForm); NS_IF_RELEASE(mCurrentMap); - NS_IF_RELEASE(mRefContent); NS_IF_RELEASE(mNodeInfoManager); @@ -3559,8 +3555,8 @@ HTMLContentSink::ScrollToRef() for (i = 0; i < ns; i++) { nsCOMPtr shell(dont_AddRef(mDocument->GetShellAt(i))); if (shell) { - shell->FlushPendingNotifications(); // Scroll to the anchor + shell->FlushPendingNotifications(); shell->GoToAnchor(*mRef); } } diff --git a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp index 49ff2c97323..bb71c69854a 100644 --- a/mozilla/layout/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/layout/html/document/src/nsHTMLContentSink.cpp @@ -351,8 +351,6 @@ public: nsString* mRef; nsScrollPreference mOriginalScrollPreference; - PRBool mNotAtRef; - nsIHTMLContent* mRefContent; nsString mBaseHREF; nsString mBaseTarget; @@ -2154,7 +2152,6 @@ HTMLContentSink::HTMLContentSink() { gSinkLogModuleInfo = PR_NewLogModule("htmlcontentsink"); } #endif - mNotAtRef = PR_TRUE; mInScript = 0; mInNotification = 0; mInMonolithicContainer = 0; @@ -2182,7 +2179,6 @@ HTMLContentSink::~HTMLContentSink() NS_IF_RELEASE(mCurrentForm); NS_IF_RELEASE(mCurrentMap); - NS_IF_RELEASE(mRefContent); NS_IF_RELEASE(mNodeInfoManager); @@ -3559,8 +3555,8 @@ HTMLContentSink::ScrollToRef() for (i = 0; i < ns; i++) { nsCOMPtr shell(dont_AddRef(mDocument->GetShellAt(i))); if (shell) { - shell->FlushPendingNotifications(); // Scroll to the anchor + shell->FlushPendingNotifications(); shell->GoToAnchor(*mRef); } }