Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug

This commit is contained in:
Jonas Sicking
2011-06-23 19:18:00 -07:00
parent 63cc5ff4f9
commit 9e55f5c437
67 changed files with 178 additions and 360 deletions

View File

@@ -411,7 +411,7 @@ nsHTMLEditor::GrabberClicked()
mMouseMotionListenerP = new ResizerMouseMotionListener(this);
if (!mMouseMotionListenerP) {return NS_ERROR_NULL_POINTER;}
nsCOMPtr<nsPIDOMEventTarget> piTarget = GetPIDOMEventTarget();
nsCOMPtr<nsIDOMEventTarget> piTarget = GetPIDOMEventTarget();
NS_ENSURE_TRUE(piTarget, NS_ERROR_FAILURE);
res = piTarget->AddEventListenerByIID(mMouseMotionListenerP,
@@ -441,7 +441,7 @@ nsHTMLEditor::EndMoving()
mPositioningShadow = nsnull;
}
nsCOMPtr<nsPIDOMEventTarget> piTarget = GetPIDOMEventTarget();
nsCOMPtr<nsIDOMEventTarget> piTarget = GetPIDOMEventTarget();
if (piTarget && mMouseMotionListenerP) {
#ifdef DEBUG