Permalink
Browse files

Bug 829685 - Remove #include "prtypes.h" from some files that no long…

…er use PR types. r=ehsan
  • Loading branch information...
1 parent 5d06e3e commit f402a169a6dcd80fc05dfb5d521a7ec02a516717 @cpeterso cpeterso committed Jan 10, 2013
View
1 accessible/src/generic/TableAccessible.h
@@ -9,7 +9,6 @@
#include "nsString.h"
#include "nsTArray.h"
-#include "prtypes.h"
namespace mozilla {
namespace a11y {
View
1 content/base/src/nsPropertyTable.h
@@ -24,7 +24,6 @@
#define nsPropertyTable_h_
#include "nscore.h"
-#include "prtypes.h"
class nsIAtom;
View
1 content/base/src/nsScriptElement.h
@@ -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
2 content/canvas/src/CanvasUtils.h
@@ -6,8 +6,6 @@
#ifndef _CANVASUTILS_H_
#define _CANVASUTILS_H_
-#include "prtypes.h"
-
#include "mozilla/CheckedInt.h"
class nsIPrincipal;
View
2 content/html/content/public/nsIFormProcessor.h
@@ -14,8 +14,6 @@
#define nsIFormProcessor_h__
#include "nsISupports.h"
-#include "prtypes.h"
-
#include "nsIDOMHTMLInputElement.h"
#include "nsTArray.h"
View
1 content/media/VideoUtils.cpp
@@ -6,7 +6,6 @@
#include "MediaResource.h"
#include "nsTimeRanges.h"
#include "nsMathUtils.h"
-#include "prtypes.h"
#include "mozilla/StandardInteger.h"
View
1 content/smil/nsSMILRepeatCount.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>
View
1 content/smil/nsSMILTargetIdentifier.h
@@ -8,7 +8,6 @@
#include "mozilla/dom/Element.h"
#include "nsAutoPtr.h"
-#include "prtypes.h"
/**
* Struct: nsSMILTargetIdentifier
View
2 content/smil/nsSMILTimeValue.h
@@ -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
1 content/xslt/src/base/txCore.h
@@ -9,7 +9,6 @@
#include "nscore.h"
#include "nsDebug.h"
#include "nsTraceRefcnt.h"
-#include "prtypes.h"
class nsAString;
View
1 content/xul/templates/src/nsContentSupportMap.h
@@ -6,7 +6,6 @@
#ifndef nsContentSupportMap_h__
#define nsContentSupportMap_h__
-#include "prtypes.h"
#include "pldhash.h"
#include "nsFixedSizeAllocator.h"
#include "nsTemplateMatch.h"
View
1 gfx/2d/convolver.h
@@ -33,7 +33,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "prtypes.h"
#include "base/cpu.h"
#include "skia/SkTypes.h"
View
2 netwerk/dns/nameprep_template.c
@@ -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
4 parser/html/nsHtml5ByteReadable.h
@@ -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
1 parser/html/nsHtml5TreeOpExecutor.h
@@ -5,7 +5,6 @@
#ifndef nsHtml5TreeOpExecutor_h__
#define nsHtml5TreeOpExecutor_h__
-#include "prtypes.h"
#include "nsIAtom.h"
#include "nsINameSpaceManager.h"
#include "nsIContent.h"
View
1 parser/htmlparser/public/nsIDTD.h
@@ -23,7 +23,6 @@
#include "nsISupports.h"
#include "nsStringGlue.h"
-#include "prtypes.h"
#include "nsITokenizer.h"
#define NS_IDTD_IID \
View
1 parser/htmlparser/public/nsIParser.h
@@ -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
1 parser/htmlparser/public/nsIParserNode.h
@@ -24,7 +24,6 @@
#define NS_IPARSERNODE__
#include "nsISupports.h"
-#include "prtypes.h"
#include "nsStringGlue.h"
#include "nsDebug.h"
View
1 parser/htmlparser/public/nsITokenizer.h
@@ -14,7 +14,6 @@
#define __NSITOKENIZER__
#include "nsISupports.h"
-#include "prtypes.h"
class CToken;
class nsScanner;
View
6 startupcache/StartupCache.h
@@ -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
1 toolkit/components/autocomplete/nsAutoCompleteSimpleResult.h
@@ -9,7 +9,6 @@
#include "nsIAutoCompleteSimpleResult.h"
#include "nsString.h"
-#include "prtypes.h"
#include "nsCOMPtr.h"
#include "nsTArray.h"
#include "mozilla/Attributes.h"
View
1 toolkit/mozapps/update/common/updatedefines.h
@@ -5,7 +5,6 @@
#ifndef UPDATEDEFINES_H
#define UPDATEDEFINES_H
-#include "prtypes.h"
#include "readstrings.h"
#ifndef MAXPATHLEN
View
4 toolkit/xre/MacLaunchHelper.h
@@ -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
3 toolkit/xre/MacLaunchHelper.mm
@@ -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
1 widget/cocoa/nsCocoaFeatures.h
@@ -7,7 +7,6 @@
#define nsCocoaFeatures_h_
#include "mozilla/StandardInteger.h"
-#include "prtypes.h"
class nsCocoaFeatures {
public:
View
2 widget/nsWidgetInitData.h
@@ -6,8 +6,6 @@
#ifndef nsWidgetInitData_h__
#define nsWidgetInitData_h__
-#include "prtypes.h"
-
/**
* Window types
*
View
1 widget/xpwidgets/GfxDriverInfo.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 "nsString.h"
#ifndef __mozilla_widget_GfxDriverInfo_h__
View
1 widget/xpwidgets/nsNativeTheme.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"
View
1 xpcom/ds/TimeStamp.h
@@ -11,7 +11,6 @@
#include "prinrval.h"
#include "nsDebug.h"
-#include "prlong.h"
namespace IPC {
template <typename T> struct ParamTraits;

0 comments on commit f402a16

Please sign in to comment.