Updating to new nsIContent stuff to fix build bustage

git-svn-id: svn://10.0.0.236/trunk@145374 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2003-07-30 07:07:10 +00:00
parent 0d6b61e7af
commit 5f9e95ef04

View File

@@ -196,8 +196,7 @@ CHClickListener::MouseDown(nsIDOMEvent* aEvent)
PRInt32 yDelta = top + height - clientY;
nsCOMPtr<nsIContent> selContent = do_QueryInterface(sel);
nsCOMPtr<nsIDocument> doc;
selContent->GetDocument(getter_AddRefs(doc));
nsCOMPtr<nsIDocument> doc = selContent->GetDocument();
// I'm going to assume that if we got a mousedown for a content node,
// it's actually in a document.