Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan

This commit is contained in:
Chris Peterson 2013-01-10 08:19:36 -08:00
parent 63e242521e
commit de411b5fd0
29 changed files with 5 additions and 42 deletions

View File

@ -9,7 +9,6 @@
#include "nsString.h"
#include "nsTArray.h"
#include "prtypes.h"
namespace mozilla {
namespace a11y {

View File

@ -24,7 +24,6 @@
#define nsPropertyTable_h_
#include "nscore.h"
#include "prtypes.h"
class nsIAtom;

View File

@ -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

View File

@ -6,8 +6,6 @@
#ifndef _CANVASUTILS_H_
#define _CANVASUTILS_H_
#include "prtypes.h"
#include "mozilla/CheckedInt.h"
class nsIPrincipal;

View File

@ -14,8 +14,6 @@
#define nsIFormProcessor_h__
#include "nsISupports.h"
#include "prtypes.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsTArray.h"

View File

@ -6,7 +6,6 @@
#include "MediaResource.h"
#include "nsTimeRanges.h"
#include "nsMathUtils.h"
#include "prtypes.h"
#include "mozilla/StandardInteger.h"

View File

@ -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>

View File

@ -8,7 +8,6 @@
#include "mozilla/dom/Element.h"
#include "nsAutoPtr.h"
#include "prtypes.h"
/**
* Struct: nsSMILTargetIdentifier

View File

@ -6,8 +6,6 @@
#ifndef NS_SMILTIMEVALUE_H_
#define NS_SMILTIMEVALUE_H_
#include "prtypes.h"
#include "prlong.h"
#include "nsSMILTypes.h"
#include "nsDebug.h"

View File

@ -9,7 +9,6 @@
#include "nscore.h"
#include "nsDebug.h"
#include "nsTraceRefcnt.h"
#include "prtypes.h"
class nsAString;

View File

@ -6,7 +6,6 @@
#ifndef nsContentSupportMap_h__
#define nsContentSupportMap_h__
#include "prtypes.h"
#include "pldhash.h"
#include "nsFixedSizeAllocator.h"
#include "nsTemplateMatch.h"

View File

@ -33,7 +33,6 @@
#include <vector>
#include "base/basictypes.h"
#include "prtypes.h"
#include "base/cpu.h"
#include "skia/SkTypes.h"

View File

@ -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

View File

@ -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.
*/

View File

@ -5,7 +5,6 @@
#ifndef nsHtml5TreeOpExecutor_h__
#define nsHtml5TreeOpExecutor_h__
#include "prtypes.h"
#include "nsIAtom.h"
#include "nsINameSpaceManager.h"
#include "nsIContent.h"

View File

@ -23,7 +23,6 @@
#include "nsISupports.h"
#include "nsStringGlue.h"
#include "prtypes.h"
#include "nsITokenizer.h"
#define NS_IDTD_IID \

View File

@ -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;

View File

@ -24,7 +24,6 @@
#define NS_IPARSERNODE__
#include "nsISupports.h"
#include "prtypes.h"
#include "nsStringGlue.h"
#include "nsDebug.h"

View File

@ -14,7 +14,6 @@
#define __NSITOKENIZER__
#include "nsISupports.h"
#include "prtypes.h"
class CToken;
class nsScanner;

View File

@ -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"

View File

@ -9,7 +9,6 @@
#include "nsIAutoCompleteSimpleResult.h"
#include "nsString.h"
#include "prtypes.h"
#include "nsCOMPtr.h"
#include "nsTArray.h"
#include "mozilla/Attributes.h"

View File

@ -5,7 +5,6 @@
#ifndef UPDATEDEFINES_H
#define UPDATEDEFINES_H
#include "prtypes.h"
#include "readstrings.h"
#ifndef MAXPATHLEN

View File

@ -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);

View File

@ -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"

View File

@ -7,7 +7,6 @@
#define nsCocoaFeatures_h_
#include "mozilla/StandardInteger.h"
#include "prtypes.h"
class nsCocoaFeatures {
public:

View File

@ -6,8 +6,6 @@
#ifndef nsWidgetInitData_h__
#define nsWidgetInitData_h__
#include "prtypes.h"
/**
* Window types
*

View File

@ -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__

View File

@ -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"

View File

@ -11,7 +11,6 @@
#include "prinrval.h"
#include "nsDebug.h"
#include "prlong.h"
namespace IPC {
template <typename T> struct ParamTraits;