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

git-svn-id: svn://10.0.0.236/trunk@52373 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net 1999-11-01 04:03:03 +00:00
parent 2766610a72
commit fe0b504eac

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);