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:
parent
2766610a72
commit
fe0b504eac
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user