Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…er use PR types. r=ehsan
  • Loading branch information...
commit f402a169a6dcd80fc05dfb5d521a7ec02a516717 1 parent 5d06e3e
Chris Peterson cpeterso authored
Showing with 5 additions and 42 deletions.
  1. +0 −1  accessible/src/generic/TableAccessible.h
  2. +0 −1  content/base/src/nsPropertyTable.h
  3. +0 −1  content/base/src/nsScriptElement.h
  4. +0 −2  content/canvas/src/CanvasUtils.h
  5. +0 −2  content/html/content/public/nsIFormProcessor.h
  6. +0 −1  content/media/VideoUtils.cpp
  7. +0 −1  content/smil/nsSMILRepeatCount.h
  8. +0 −1  content/smil/nsSMILTargetIdentifier.h
  9. +0 −2  content/smil/nsSMILTimeValue.h
  10. +0 −1  content/xslt/src/base/txCore.h
  11. +0 −1  content/xul/templates/src/nsContentSupportMap.h
  12. +0 −1  gfx/2d/convolver.h
  13. +0 −2  netwerk/dns/nameprep_template.c
  14. +1 −3 parser/html/nsHtml5ByteReadable.h
  15. +0 −1  parser/html/nsHtml5TreeOpExecutor.h
  16. +0 −1  parser/htmlparser/public/nsIDTD.h
  17. +0 −1  parser/htmlparser/public/nsIParser.h
  18. +0 −1  parser/htmlparser/public/nsIParserNode.h
  19. +0 −1  parser/htmlparser/public/nsITokenizer.h
  20. +0 −6 startupcache/StartupCache.h
  21. +0 −1  toolkit/components/autocomplete/nsAutoCompleteSimpleResult.h
  22. +0 −1  toolkit/mozapps/update/common/updatedefines.h
  23. +4 −0 toolkit/xre/MacLaunchHelper.h
  24. +0 −3  toolkit/xre/MacLaunchHelper.mm
  25. +0 −1  widget/cocoa/nsCocoaFeatures.h
  26. +0 −2  widget/nsWidgetInitData.h
  27. +0 −1  widget/xpwidgets/GfxDriverInfo.h
  28. +0 −1  widget/xpwidgets/nsNativeTheme.h
  29. +0 −1  xpcom/ds/TimeStamp.h
1  accessible/src/generic/TableAccessible.h
View
@@ -9,7 +9,6 @@
#include "nsString.h"
#include "nsTArray.h"
-#include "prtypes.h"
namespace mozilla {
namespace a11y {
1  content/base/src/nsPropertyTable.h
View
@@ -24,7 +24,6 @@
#define nsPropertyTable_h_
#include "nscore.h"
-#include "prtypes.h"
class nsIAtom;
1  content/base/src/nsScriptElement.h
View
@@ -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
2  content/canvas/src/CanvasUtils.h
View
@@ -6,8 +6,6 @@
#ifndef _CANVASUTILS_H_
#define _CANVASUTILS_H_
-#include "prtypes.h"
-
#include "mozilla/CheckedInt.h"
class nsIPrincipal;
2  content/html/content/public/nsIFormProcessor.h
View
@@ -14,8 +14,6 @@
#define nsIFormProcessor_h__
#include "nsISupports.h"
-#include "prtypes.h"
-
#include "nsIDOMHTMLInputElement.h"
#include "nsTArray.h"
1  content/media/VideoUtils.cpp
View
@@ -6,7 +6,6 @@
#include "MediaResource.h"
#include "nsTimeRanges.h"
#include "nsMathUtils.h"
-#include "prtypes.h"
#include "mozilla/StandardInteger.h"
1  content/smil/nsSMILRepeatCount.h
View
@@ -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>
1  content/smil/nsSMILTargetIdentifier.h
View
@@ -8,7 +8,6 @@
#include "mozilla/dom/Element.h"
#include "nsAutoPtr.h"
-#include "prtypes.h"
/**
* Struct: nsSMILTargetIdentifier
2  content/smil/nsSMILTimeValue.h
View
@@ -6,8 +6,6 @@
#ifndef NS_SMILTIMEVALUE_H_
#define NS_SMILTIMEVALUE_H_
-#include "prtypes.h"
-#include "prlong.h"
#include "nsSMILTypes.h"
#include "nsDebug.h"
1  content/xslt/src/base/txCore.h
View
@@ -9,7 +9,6 @@
#include "nscore.h"
#include "nsDebug.h"
#include "nsTraceRefcnt.h"
-#include "prtypes.h"
class nsAString;
1  content/xul/templates/src/nsContentSupportMap.h
View
@@ -6,7 +6,6 @@
#ifndef nsContentSupportMap_h__
#define nsContentSupportMap_h__
-#include "prtypes.h"
#include "pldhash.h"
#include "nsFixedSizeAllocator.h"
#include "nsTemplateMatch.h"
1  gfx/2d/convolver.h
View
@@ -33,7 +33,6 @@
#include <vector>
#include "base/basictypes.h"
-#include "prtypes.h"
#include "base/cpu.h"
#include "skia/SkTypes.h"
2  netwerk/dns/nameprep_template.c
View
@@ -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
4 parser/html/nsHtml5ByteReadable.h
View
@@ -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.
*/
1  parser/html/nsHtml5TreeOpExecutor.h
View
@@ -5,7 +5,6 @@
#ifndef nsHtml5TreeOpExecutor_h__
#define nsHtml5TreeOpExecutor_h__
-#include "prtypes.h"
#include "nsIAtom.h"
#include "nsINameSpaceManager.h"
#include "nsIContent.h"
1  parser/htmlparser/public/nsIDTD.h
View
@@ -23,7 +23,6 @@
#include "nsISupports.h"
#include "nsStringGlue.h"
-#include "prtypes.h"
#include "nsITokenizer.h"
#define NS_IDTD_IID \
1  parser/htmlparser/public/nsIParser.h
View
@@ -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;
1  parser/htmlparser/public/nsIParserNode.h
View
@@ -24,7 +24,6 @@
#define NS_IPARSERNODE__
#include "nsISupports.h"
-#include "prtypes.h"
#include "nsStringGlue.h"
#include "nsDebug.h"
1  parser/htmlparser/public/nsITokenizer.h
View
@@ -14,7 +14,6 @@
#define __NSITOKENIZER__
#include "nsISupports.h"
-#include "prtypes.h"
class CToken;
class nsScanner;
6 startupcache/StartupCache.h
View
@@ -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"
1  toolkit/components/autocomplete/nsAutoCompleteSimpleResult.h
View
@@ -9,7 +9,6 @@
#include "nsIAutoCompleteSimpleResult.h"
#include "nsString.h"
-#include "prtypes.h"
#include "nsCOMPtr.h"
#include "nsTArray.h"
#include "mozilla/Attributes.h"
1  toolkit/mozapps/update/common/updatedefines.h
View
@@ -5,7 +5,6 @@
#ifndef UPDATEDEFINES_H
#define UPDATEDEFINES_H
-#include "prtypes.h"
#include "readstrings.h"
#ifndef MAXPATHLEN
4 toolkit/xre/MacLaunchHelper.h
View
@@ -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  toolkit/xre/MacLaunchHelper.mm
View
@@ -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"
1  widget/cocoa/nsCocoaFeatures.h
View
@@ -7,7 +7,6 @@
#define nsCocoaFeatures_h_
#include "mozilla/StandardInteger.h"
-#include "prtypes.h"
class nsCocoaFeatures {
public:
2  widget/nsWidgetInitData.h
View
@@ -6,8 +6,6 @@
#ifndef nsWidgetInitData_h__
#define nsWidgetInitData_h__
-#include "prtypes.h"
-
/**
* Window types
*
1  widget/xpwidgets/GfxDriverInfo.h
View
@@ -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__
1  widget/xpwidgets/nsNativeTheme.h
View
@@ -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"
1  xpcom/ds/TimeStamp.h
View
@@ -11,7 +11,6 @@
#include "prinrval.h"
#include "nsDebug.h"
-#include "prlong.h"
namespace IPC {
template <typename T> struct ParamTraits;
Please sign in to comment.
Something went wrong with that request. Please try again.