Bug 1600451 - Port bug 1600362: add namespace to Element class. r=KaiE
This commit is contained in:
Родитель
c59a34cf4b
Коммит
fa09318939
|
@ -712,7 +712,7 @@ void nsMsgContentPolicy::ComposeShouldLoad(nsIMsgCompose *aMsgCompose,
|
|||
if (*aDecision == nsIContentPolicy::REJECT_REQUEST) {
|
||||
bool insertingQuotedContent = true;
|
||||
aMsgCompose->GetInsertingQuotedContent(&insertingQuotedContent);
|
||||
nsCOMPtr<Element> element = do_QueryInterface(aRequestingContext);
|
||||
nsCOMPtr<mozilla::dom::Element> element = do_QueryInterface(aRequestingContext);
|
||||
RefPtr<mozilla::dom::HTMLImageElement> image =
|
||||
mozilla::dom::HTMLImageElement::FromNodeOrNull(element);
|
||||
if (image) {
|
||||
|
|
|
@ -259,7 +259,7 @@ nsresult nsMsgMailSession::GetTopmostMsgWindow(nsIMsgWindow **aMsgWindow) {
|
|||
mozilla::dom::Document *domDocument = topMostWindow->GetDoc();
|
||||
NS_ENSURE_TRUE(domDocument, NS_ERROR_FAILURE);
|
||||
|
||||
Element *domElement = domDocument->GetDocumentElement();
|
||||
mozilla::dom::Element *domElement = domDocument->GetDocumentElement();
|
||||
NS_ENSURE_TRUE(domElement, NS_ERROR_FAILURE);
|
||||
|
||||
domElement->GetAttribute(NS_LITERAL_STRING("windowtype"), windowType);
|
||||
|
|
Загрузка…
Ссылка в новой задаче