Fixing compile errors in cocoa embedding example. Not part of build.

git-svn-id: svn://10.0.0.236/trunk@145481 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jfrancis%netscape.com
2003-08-02 06:31:54 +00:00
parent bd28781078
commit 8c4642a4a8

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.