Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright

Differential Revision: https://phabricator.services.mozilla.com/D69127

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Eric Rahm 2020-04-03 21:05:46 +00:00
parent 357069ff58
commit 12ca859e67
24 changed files with 2 additions and 29 deletions

View File

@ -29,7 +29,6 @@
#include "mozilla/dom/ProfileTimelineMarkerBinding.h"
#include "mozilla/dom/WindowProxyHolder.h"
#include "mozilla/gfx/Matrix.h"
#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "nsCRT.h"
#include "nsCharsetSource.h"
@ -491,8 +490,8 @@ class nsDocShell final : public nsDocLoader,
// to transfer the resulting channel into the final process.
static nsresult CreateRealChannelForDocument(
nsIChannel** aChannel, nsIURI* aURI, nsILoadInfo* aLoadInfo,
nsIInterfaceRequestor* aCallbacks,
nsLoadFlags aLoadFlags, const nsAString& aSrcdoc, nsIURI* aBaseURI);
nsIInterfaceRequestor* aCallbacks, nsLoadFlags aLoadFlags,
const nsAString& aSrcdoc, nsIURI* aBaseURI);
// Creates a real (not DocumentChannel) channel, and configures it using the
// supplied nsDocShellLoadState.

View File

@ -15,7 +15,6 @@
#include "mozilla/EnumeratedRange.h"
#include "mozilla/Observer.h"
#include "mozilla/Unused.h"
#include "nsAutoPtr.h"
#include "WindowIdentifier.h"
using namespace mozilla;

View File

@ -4,7 +4,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/ClearOnShutdown.h"
#include "nsAutoPtr.h"
#include "nsJARProtocolHandler.h"
#include "nsCRT.h"
#include "nsJARURI.h"

View File

@ -12,7 +12,6 @@
#include "nsIStandardURL.h"
#include "nsCRT.h"
#include "nsReadableUtils.h"
#include "nsAutoPtr.h"
#include "nsNetCID.h"
#include "nsIObjectInputStream.h"
#include "nsIObjectOutputStream.h"

View File

@ -9,7 +9,6 @@
#include "nsZipWriter.h"
#include "nsIOutputStream.h"
#include "nsIStreamListener.h"
#include "nsAutoPtr.h"
#include "mozilla/Attributes.h"
class nsZipDataStream final : public nsIStreamListener {

View File

@ -13,7 +13,6 @@
#include "Authenticode.h"
#include "BaseProfiler.h"
#include "nsAutoPtr.h"
#include "nsWindowsDllInterceptor.h"
#include "mozilla/CmdLineAndEnvUtils.h"
#include "mozilla/DebugOnly.h"

View File

@ -15,7 +15,6 @@
#include "mozilla/scache/StartupCache.h"
#include "mozilla/ScopeExit.h"
#include "nsAutoPtr.h"
#include "nsClassHashtable.h"
#include "nsComponentManagerUtils.h"
#include "nsCRT.h"

View File

@ -9,7 +9,6 @@
#include "nsIJARURI.h"
#include "nsIResProtocolHandler.h"
#include "nsIChromeRegistry.h"
#include "nsAutoPtr.h"
#include "nsStringStream.h"
#include "StartupCacheUtils.h"
#include "mozilla/scache/StartupCache.h"

View File

@ -11,7 +11,6 @@
#include "mozIStorageStatement.h"
#include "mozIStorageAsyncStatement.h"
#include "nsAutoPtr.h"
#include "nsHashKeys.h"
#include "nsInterfaceHashtable.h"

View File

@ -9,7 +9,6 @@
#include "nsISupports.h"
#include "nsCOMPtr.h"
#include "nsAutoPtr.h"
#include "mozStorageHelper.h"
struct sqlite3;

View File

@ -7,7 +7,6 @@
#ifndef mozilla_storage_mozStorageAsyncStatement_h_
#define mozilla_storage_mozStorageAsyncStatement_h_
#include "nsAutoPtr.h"
#include "nsString.h"
#include "nsTArray.h"

View File

@ -4,8 +4,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsAutoPtr.h"
#include "sqlite3.h"
#include "mozIStorageStatementCallback.h"

View File

@ -9,7 +9,6 @@
#include "nscore.h"
#include "nsTArray.h"
#include "nsAutoPtr.h"
#include "mozilla/Mutex.h"
#include "mozilla/TimeStamp.h"
#include "mozilla/Attributes.h"

View File

@ -7,7 +7,6 @@
#ifndef mozStorageBindingParamsArray_h
#define mozStorageBindingParamsArray_h
#include "nsAutoPtr.h"
#include "nsTArray.h"
#include "mozilla/Attributes.h"

View File

@ -7,7 +7,6 @@
#include <stdio.h>
#include "nsError.h"
#include "nsAutoPtr.h"
#include "nsThreadUtils.h"
#include "nsIFile.h"
#include "nsIFileURL.h"

View File

@ -7,7 +7,6 @@
#ifndef mozilla_storage_Connection_h
#define mozilla_storage_Connection_h
#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "mozilla/Atomics.h"
#include "mozilla/Mutex.h"

View File

@ -6,7 +6,6 @@
#ifndef MOZSTORAGEHELPER_H
#define MOZSTORAGEHELPER_H
#include "nsAutoPtr.h"
#include "nsString.h"
#include "mozilla/DebugOnly.h"

View File

@ -14,7 +14,6 @@
#include "sqlite3.h"
#include "nsIVariant.h"
#include "nsError.h"
#include "nsAutoPtr.h"
#include "js/TypeDecls.h"
#include "Variant.h"

View File

@ -9,7 +9,6 @@
#include "mozStorageService.h"
#include "mozStorageConnection.h"
#include "nsAutoPtr.h"
#include "nsCollationCID.h"
#include "nsComponentManagerUtils.h"
#include "nsEmbedCID.h"

View File

@ -7,7 +7,6 @@
#ifndef mozStorageStatement_h
#define mozStorageStatement_h
#include "nsAutoPtr.h"
#include "nsString.h"
#include "nsTArray.h"

View File

@ -9,7 +9,6 @@
#include "sqlite3.h"
#include "nsAutoPtr.h"
#include "nsTArray.h"
#include "MainThreadUtils.h"

View File

@ -11,7 +11,6 @@
#include "mozilla/Preferences.h"
#include "mozilla/StartupTimeline.h"
#include "mozilla/dom/Document.h"
#include "nsAutoPtr.h"
#include "nsGfxCIID.h"
#include "nsView.h"
#include "nsCOMPtr.h"

View File

@ -12,7 +12,6 @@
// Interfaces Needed
#include "AppWindow.h"
#include "nsStringFwd.h"
#include "nsAutoPtr.h"
#include "nsIRemoteTab.h"
#include "mozilla/Attributes.h"

View File

@ -9,9 +9,6 @@
#include "nsContentTreeOwner.h"
#include "AppWindow.h"
// Helper Classes
#include "nsAutoPtr.h"
// Interfaces needed to be included
#include "nsIDOMWindow.h"
#include "nsIDOMChromeWindow.h"