Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot

This commit is contained in:
Boris Zbarsky
2018-04-26 23:37:34 -04:00
parent 5378e40459
commit 599ef690cf
57 changed files with 67 additions and 134 deletions

View File

@@ -18,7 +18,6 @@
#include "nsPluginInstanceOwner.h"
#include "nsThreadUtils.h"
#include "nsIDOMElement.h"
#include "nsIDocument.h"
#include "nsIDocShell.h"
#include "nsIScriptGlobalObject.h"
@@ -33,6 +32,7 @@
#include "mozilla/Preferences.h"
#include "mozilla/Unused.h"
#include "nsILoadContext.h"
#include "mozilla/dom/Element.h"
#include "mozilla/dom/HTMLObjectElementBinding.h"
#include "AudioChannelService.h"
@@ -1088,7 +1088,7 @@ nsNPAPIPluginInstance::ConvertPoint(double sourceX, double sourceY, NPCoordinate
}
nsresult
nsNPAPIPluginInstance::GetDOMElement(nsIDOMElement* *result)
nsNPAPIPluginInstance::GetDOMElement(Element** result)
{
if (!mOwner) {
*result = nullptr;