зеркало из https://github.com/mozilla/gecko-dev.git
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
This commit is contained in:
Родитель
63e242521e
Коммит
de411b5fd0
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "nsString.h"
|
||||
#include "nsTArray.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define nsPropertyTable_h_
|
||||
|
||||
#include "nscore.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
class nsIAtom;
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "nsIScriptLoaderObserver.h"
|
||||
#include "nsIScriptElement.h"
|
||||
#include "nsStubMutationObserver.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
/**
|
||||
* Baseclass useful for script elements (such as <xhtml:script> and
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef _CANVASUTILS_H_
|
||||
#define _CANVASUTILS_H_
|
||||
|
||||
#include "prtypes.h"
|
||||
|
||||
#include "mozilla/CheckedInt.h"
|
||||
|
||||
class nsIPrincipal;
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
#define nsIFormProcessor_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
#include "nsIDOMHTMLInputElement.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "MediaResource.h"
|
||||
#include "nsTimeRanges.h"
|
||||
#include "nsMathUtils.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
#include "mozilla/StandardInteger.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,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 "prtypes.h"
|
||||
#include "nsDebug.h"
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
/**
|
||||
* Struct: nsSMILTargetIdentifier
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef NS_SMILTIMEVALUE_H_
|
||||
#define NS_SMILTIMEVALUE_H_
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "prlong.h"
|
||||
#include "nsSMILTypes.h"
|
||||
#include "nsDebug.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "nscore.h"
|
||||
#include "nsDebug.h"
|
||||
#include "nsTraceRefcnt.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
class nsAString;
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef nsContentSupportMap_h__
|
||||
#define nsContentSupportMap_h__
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "pldhash.h"
|
||||
#include "nsFixedSizeAllocator.h"
|
||||
#include "nsTemplateMatch.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "base/basictypes.h"
|
||||
#include "prtypes.h"
|
||||
#include "base/cpu.h"
|
||||
#include "skia/SkTypes.h"
|
||||
|
||||
|
|
|
@ -48,8 +48,6 @@
|
|||
#ifndef NAMEPREP_TEMPLATE_INIT
|
||||
#define NAMEPREP_TEMPLATE_INIT
|
||||
|
||||
#include "prtypes.h"
|
||||
|
||||
/* Symbol composition. */
|
||||
#define compose_sym2(a, b) compose_sym2X(a, b)
|
||||
#define compose_sym2X(a, b) a ## b
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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/. */
|
||||
|
||||
|
||||
#ifndef nsHtml5ByteReadable_h__
|
||||
#define nsHtml5ByteReadable_h__
|
||||
|
||||
#include "prtypes.h"
|
||||
|
||||
/**
|
||||
* A weak reference wrapper around a byte array.
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#ifndef nsHtml5TreeOpExecutor_h__
|
||||
#define nsHtml5TreeOpExecutor_h__
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsINameSpaceManager.h"
|
||||
#include "nsIContent.h"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
#include "nsISupports.h"
|
||||
#include "nsStringGlue.h"
|
||||
#include "prtypes.h"
|
||||
#include "nsITokenizer.h"
|
||||
|
||||
#define NS_IDTD_IID \
|
||||
|
|
|
@ -256,7 +256,6 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIParser, NS_IPARSER_IID)
|
|||
Some useful constants...
|
||||
* ===========================================================*/
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "nsError.h"
|
||||
|
||||
const nsresult kEOF = NS_ERROR_HTMLPARSER_EOF;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define NS_IPARSERNODE__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "prtypes.h"
|
||||
#include "nsStringGlue.h"
|
||||
#include "nsDebug.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#define __NSITOKENIZER__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
class CToken;
|
||||
class nsScanner;
|
||||
|
|
|
@ -6,16 +6,10 @@
|
|||
#ifndef StartupCache_h_
|
||||
#define StartupCache_h_
|
||||
|
||||
#include "prio.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
#include "nsClassHashtable.h"
|
||||
#include "nsIZipWriter.h"
|
||||
#include "nsIZipReader.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsZipArchive.h"
|
||||
#include "nsIStartupCache.h"
|
||||
#include "nsIStorageStream.h"
|
||||
#include "nsITimer.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIObserver.h"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "nsIAutoCompleteSimpleResult.h"
|
||||
|
||||
#include "nsString.h"
|
||||
#include "prtypes.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsTArray.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#ifndef UPDATEDEFINES_H
|
||||
#define UPDATEDEFINES_H
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "readstrings.h"
|
||||
|
||||
#ifndef MAXPATHLEN
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#ifndef MacLaunchHelper_h_
|
||||
#define MacLaunchHelper_h_
|
||||
|
||||
#include "mozilla/StandardInteger.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
extern "C" {
|
||||
void LaunchChildMac(int aArgc, char** aArgv, uint32_t aRestartType = 0,
|
||||
pid_t *pid = 0);
|
||||
|
|
|
@ -3,9 +3,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 "mozilla/Util.h"
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "MacLaunchHelper.h"
|
||||
|
||||
#include "nsMemory.h"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#define nsCocoaFeatures_h_
|
||||
|
||||
#include "mozilla/StandardInteger.h"
|
||||
#include "prtypes.h"
|
||||
|
||||
class nsCocoaFeatures {
|
||||
public:
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef nsWidgetInitData_h__
|
||||
#define nsWidgetInitData_h__
|
||||
|
||||
#include "prtypes.h"
|
||||
|
||||
/**
|
||||
* Window types
|
||||
*
|
||||
|
|
|
@ -3,7 +3,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 "prtypes.h"
|
||||
#include "nsString.h"
|
||||
|
||||
#ifndef __mozilla_widget_GfxDriverInfo_h__
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
// This defines a common base class for nsITheme implementations, to reduce
|
||||
// code duplication.
|
||||
|
||||
#include "prtypes.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "nsIAtom.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "prinrval.h"
|
||||
#include "nsDebug.h"
|
||||
#include "prlong.h"
|
||||
|
||||
namespace IPC {
|
||||
template <typename T> struct ParamTraits;
|
||||
|
|
Загрузка…
Ссылка в новой задаче