Added comment around frame stuff to explain lack of ref-counting.

This commit is contained in:
tbogard@aol.net
1999-11-01 04:03:03 +00:00
parent 246bd87788
commit 633863c4b3
+2 -1
View File
@@ -95,7 +95,8 @@ NS_IMETHODIMP nsHTMLDocShell::ScrollToNode(nsIDOMNode* aNode)
NS_ENSURE(content, NS_ERROR_FAILURE);
// Get the primary frame
nsIFrame* frame;
nsIFrame* frame; // Remember Frames aren't ref-counted. They are in their
// own special little world.
NS_ENSURE_SUCCESS(GetPrimaryFrameFor(content, &frame),
NS_ERROR_FAILURE);