Skip to content

Commit 4783772

Browse files
committed
Bug 1455674 part 17. Remove use of nsIDOMElement in non-dom non-JS code. r=qdot
1 parent 25aa42d commit 4783772

19 files changed

+1
-21
lines changed

browser/components/shell/nsMacShellService.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
55

66
#include "nsDirectoryServiceDefs.h"
7-
#include "nsIDOMElement.h"
87
#include "nsIImageLoadingContent.h"
98
#include "nsIDocument.h"
109
#include "nsIContent.h"

browser/components/shell/nsWindowsShellService.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include "mozilla/gfx/2D.h"
1313
#include "mozilla/RefPtr.h"
1414
#include "nsIContent.h"
15-
#include "nsIDOMElement.h"
1615
#include "nsIImageLoadingContent.h"
1716
#include "nsIOutputStream.h"
1817
#include "nsIPrefService.h"

docshell/base/nsDocShell.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
#include "nsIDocument.h"
8383
#include "nsIDocumentLoaderFactory.h"
8484
#include "nsIDOMDocument.h"
85-
#include "nsIDOMElement.h"
8685
#include "nsIDOMNode.h"
8786
#include "nsIDOMStorage.h"
8887
#include "nsIDOMWindow.h"
@@ -13700,9 +13699,8 @@ nsDocShell::OnOverLink(nsIContent* aContent,
1370013699
nullptr);
1370113700

1370213701
if (browserChrome2) {
13703-
nsCOMPtr<nsIDOMElement> element = do_QueryInterface(aContent);
1370413702
rv = browserChrome2->SetStatusWithContext(nsIWebBrowserChrome::STATUS_LINK,
13705-
uStr, element);
13703+
uStr, aContent);
1370613704
} else {
1370713705
rv = browserChrome->SetStatus(nsIWebBrowserChrome::STATUS_LINK, uStr.get());
1370813706
}

docshell/base/nsDocShellTreeOwner.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "nsPresContext.h"
2727
#include "nsITooltipListener.h"
2828
#include "nsIDOMNode.h"
29-
#include "nsIDOMElement.h"
3029
#include "Link.h"
3130
#include "mozilla/dom/Element.h"
3231
#include "mozilla/dom/MouseEvent.h"

toolkit/components/browser/nsWebBrowser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include "nsIComponentManager.h"
2121
#include "nsIDOMDocument.h"
2222
#include "nsIDOMWindow.h"
23-
#include "nsIDOMElement.h"
2423
#include "nsIInterfaceRequestor.h"
2524
#include "nsIInterfaceRequestorUtils.h"
2625
#include "nsIWebBrowserChrome.h"

toolkit/components/satchel/nsFormFillController.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "nsPIDOMWindow.h"
3030
#include "nsIWebNavigation.h"
3131
#include "nsIContentViewer.h"
32-
#include "nsIDOMElement.h"
3332
#include "nsIDocument.h"
3433
#include "nsIContent.h"
3534
#include "nsIPresShell.h"

uriloader/prefetch/nsOfflineCacheUpdate.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include "nsIContent.h"
1515
#include "mozilla/dom/Element.h"
1616
#include "nsIDocumentLoader.h"
17-
#include "nsIDOMElement.h"
1817
#include "nsIDOMWindow.h"
1918
#include "nsIDOMOfflineResourceList.h"
2019
#include "nsIDocument.h"

uriloader/prefetch/nsOfflineCacheUpdateService.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "nsIContent.h"
1919
#include "nsIDocShell.h"
2020
#include "nsIDocumentLoader.h"
21-
#include "nsIDOMElement.h"
2221
#include "nsIDOMWindow.h"
2322
#include "nsIDOMOfflineResourceList.h"
2423
#include "nsIDocument.h"

widget/GfxInfoBase.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "mozilla/Observer.h"
2020
#include "nsIObserver.h"
2121
#include "nsIObserverService.h"
22-
#include "nsIDOMElement.h"
2322
#include "nsIDOMNode.h"
2423
#include "nsTArray.h"
2524
#include "nsXULAppAPI.h"

widget/cocoa/nsCocoaWindow.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "nsToolkit.h"
2424
#include "nsIDOMWindow.h"
2525
#include "nsPIDOMWindow.h"
26-
#include "nsIDOMElement.h"
2726
#include "nsThreadUtils.h"
2827
#include "nsMenuBarX.h"
2928
#include "nsMenuUtilsX.h"

0 commit comments

Comments
 (0)