Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel

This commit is contained in:
Ehsan Akhgari 2012-09-22 11:34:22 -04:00
parent 1ac633331c
commit 03ce7cf78a
13 changed files with 1 additions and 14 deletions

View File

@ -7,7 +7,6 @@
#define gfx_SharedDIB_h__ #define gfx_SharedDIB_h__
#include "base/shared_memory.h" #include "base/shared_memory.h"
#include "prtypes.h"
#include "nscore.h" #include "nscore.h"
namespace mozilla { namespace mozilla {

View File

@ -5,7 +5,6 @@
#include "mozilla/Util.h" #include "mozilla/Util.h"
#include "prtypes.h"
#include "nsAlgorithm.h" #include "nsAlgorithm.h"
#include "prmem.h" #include "prmem.h"
#include "nsString.h" #include "nsString.h"

View File

@ -18,7 +18,6 @@
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "prtypes.h"
#include "gfxTypes.h" #include "gfxTypes.h"
#include "nsAlgorithm.h" #include "nsAlgorithm.h"
#include "gfxContext.h" #include "gfxContext.h"

View File

@ -6,7 +6,6 @@
#ifndef GFX_FONT_H #ifndef GFX_FONT_H
#define GFX_FONT_H #define GFX_FONT_H
#include "prtypes.h"
#include "nsAlgorithm.h" #include "nsAlgorithm.h"
#include "gfxTypes.h" #include "gfxTypes.h"
#include "nsString.h" #include "nsString.h"

View File

@ -7,8 +7,6 @@
#ifndef GFX_FONT_FEATURES_H #ifndef GFX_FONT_FEATURES_H
#define GFX_FONT_FEATURES_H #define GFX_FONT_FEATURES_H
#include "prtypes.h"
// An OpenType feature tag and value pair // An OpenType feature tag and value pair
struct gfxFontFeature { struct gfxFontFeature {
uint32_t mTag; // see http://www.microsoft.com/typography/otspec/featuretags.htm uint32_t mTag; // see http://www.microsoft.com/typography/otspec/featuretags.htm

View File

@ -6,7 +6,6 @@
#ifndef GFX_FONTMISSINGGLYPHS_H #ifndef GFX_FONTMISSINGGLYPHS_H
#define GFX_FONTMISSINGGLYPHS_H #define GFX_FONTMISSINGGLYPHS_H
#include "prtypes.h"
#include "gfxTypes.h" #include "gfxTypes.h"
#include "gfxContext.h" #include "gfxContext.h"
#include "gfxRect.h" #include "gfxRect.h"

View File

@ -9,7 +9,6 @@
#include "gfxTypes.h" #include "gfxTypes.h"
#include "gfxPlatform.h" #include "gfxPlatform.h"
#include "prtypes.h"
#include "nsAlgorithm.h" #include "nsAlgorithm.h"
#include "prcpucfg.h" #include "prcpucfg.h"

View File

@ -3,7 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "prtypes.h"
#include "prmem.h" #include "prmem.h"
#include "nsString.h" #include "nsString.h"
#include "nsBidiUtils.h" #include "nsBidiUtils.h"

View File

@ -3,7 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "prtypes.h"
#include "nsAlgorithm.h" #include "nsAlgorithm.h"
#include "prmem.h" #include "prmem.h"
#include "nsString.h" #include "nsString.h"

View File

@ -6,7 +6,6 @@
#ifndef GFX_PLATFORM_H #ifndef GFX_PLATFORM_H
#define GFX_PLATFORM_H #define GFX_PLATFORM_H
#include "prtypes.h"
#include "prlog.h" #include "prlog.h"
#include "nsTArray.h" #include "nsTArray.h"
#include "nsStringGlue.h" #include "nsStringGlue.h"

View File

@ -6,7 +6,6 @@
#ifndef GFX_SKIP_CHARS_H #ifndef GFX_SKIP_CHARS_H
#define GFX_SKIP_CHARS_H #define GFX_SKIP_CHARS_H
#include "prtypes.h"
#include "nsAutoPtr.h" #include "nsAutoPtr.h"
#include "nsTArray.h" #include "nsTArray.h"
#include "gfxTypes.h" #include "gfxTypes.h"

View File

@ -6,7 +6,6 @@
#ifndef GFX_TYPES_H #ifndef GFX_TYPES_H
#define GFX_TYPES_H #define GFX_TYPES_H
#include "prtypes.h"
#include "nsAtomicRefcnt.h" #include "nsAtomicRefcnt.h"
/** /**

View File

@ -5,12 +5,12 @@
#ifndef GFX_CHROMIUMTYPES_H #ifndef GFX_CHROMIUMTYPES_H
#define GFX_CHROMIUMTYPES_H #define GFX_CHROMIUMTYPES_H
#include "prtypes.h"
#include "mozilla/StandardInteger.h" #include "mozilla/StandardInteger.h"
typedef uint8_t uint8; typedef uint8_t uint8;
typedef int8_t int8; typedef int8_t int8;
typedef int16_t int16; typedef int16_t int16;
typedef uint32_t uint32;
// From Chromium build_config.h: // From Chromium build_config.h:
// Processor architecture detection. For more info on what's defined, see: // Processor architecture detection. For more info on what's defined, see: