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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user