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

This commit is contained in:
Ehsan Akhgari 2012-09-28 14:56:27 -04:00
parent 28c9201dcc
commit 1d1ec4e105
13 changed files with 5 additions and 14 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,7 +9,6 @@
#include "gfxTypes.h"
#include "gfxPlatform.h"
#include "prtypes.h"
#include "nsAlgorithm.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
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "prtypes.h"
#include "prmem.h"
#include "nsString.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
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "prtypes.h"
#include "nsAlgorithm.h"
#include "prmem.h"
#include "nsString.h"

View File

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

View File

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

View File

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

View File

@ -5,12 +5,16 @@
#ifndef GFX_CHROMIUMTYPES_H
#define GFX_CHROMIUMTYPES_H
#include "prtypes.h"
#include "mozilla/StandardInteger.h"
// On Windows, protypes.h is #included, which defines these types. This sucks!
#ifndef PROTYPES_H
typedef uint8_t uint8;
typedef int8_t int8;
typedef int16_t int16;
typedef uint16_t uint16;
typedef uint32_t uint32;
#endif
// From Chromium build_config.h:
// Processor architecture detection. For more info on what's defined, see: