Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey

This commit is contained in:
Ms2ger 2013-03-17 08:55:16 +01:00
parent c4380f4933
commit d52bebdeb3
12 changed files with 19 additions and 3 deletions

View File

@ -29,7 +29,6 @@
#include "nsContentListDeclarations.h"
#include "nsMathUtils.h"
#include "nsReadableUtils.h"
#include "nsTArray.h"
#include "nsWrapperCache.h"
class imgICache;
@ -107,6 +106,7 @@ struct nsIntMargin;
struct nsNativeKeyEvent; // Don't include nsINativeKeyBindings.h here: it will force strange compilation error!
template<class E> class nsCOMArray;
template<class E> class nsTArray;
template<class K, class V> class nsDataHashtable;
template<class K, class V> class nsRefPtrHashtable;

View File

@ -3,6 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/dom/EncodingUtils.h"
#include "mozilla/Util.h" // ArrayLength
#include "nsUConvPropertySearch.h"
namespace mozilla {

View File

@ -12,6 +12,7 @@
*/
#include "mozilla/DebugOnly.h"
#include "mozilla/Util.h" // ArrayLength
#include "nsPluginsDir.h"
#include "prlink.h"

View File

@ -12,6 +12,7 @@
#include "LayersTypes.h" // for LayersBackend
#include "mozilla/TimeStamp.h"
#include "ImageTypes.h"
#include "nsTArray.h"
#ifdef XP_WIN
struct ID3D10Texture2D;

View File

@ -8,6 +8,7 @@
#include "prprf.h"
#include "nsString.h"
#include "nsStreamUtils.h"
#include "nsTArray.h"
#include "nsAutoPtr.h"
using namespace mozilla;

View File

@ -10,6 +10,7 @@
#include "prprf.h"
#include "nsString.h"
#include "nsStreamUtils.h"
#include "nsTArray.h"
using namespace mozilla;
using namespace mozilla::image;

View File

@ -5,6 +5,10 @@
#ifndef mozilla_net_DashboardTypes_h_
#define mozilla_net_DashboardTypes_h_
#include "mozilla/StandardInteger.h"
#include "nsStringGlue.h"
#include "nsTArray.h"
namespace mozilla {
namespace net {

View File

@ -4,6 +4,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsUserInfo.h"
#include "mozilla/Util.h" // ArrayLength
#include "nsString.h"
#include "windows.h"
#include "nsCRT.h"

View File

@ -13,6 +13,7 @@
#include "nsIMutableArray.h"
#include "nsIUrlClassifierPrefixSet.h"
#include "nsIMemoryReporter.h"
#include "nsTArray.h"
#include "nsToolkitCompsCID.h"
#include "mozilla/Mutex.h"
#include "mozilla/CondVar.h"

View File

@ -13,6 +13,7 @@
#include "nsCOMPtr.h"
#include "nsStringGlue.h"
#include "mozilla/Base64.h"
#include "mozilla/Util.h" // ArrayLength
#include "ScopedNSSTypes.h"
#include "nss.h"

View File

@ -13,6 +13,7 @@
#include "nsPoint.h"
#include "nsRect.h"
#include "nsString.h"
#include "nsTArray.h"
#include "mozilla/gfx/Rect.h"
//#define FORCE_ALOG 1

View File

@ -3,11 +3,12 @@
* 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 "nsString.h"
#ifndef __mozilla_widget_GfxDriverInfo_h__
#define __mozilla_widget_GfxDriverInfo_h__
#include "mozilla/Util.h" // ArrayLength
#include "nsString.h"
// Macros for adding a blocklist item to the static list.
#define APPEND_TO_DRIVER_BLOCKLIST(os, vendor, devices, feature, featureStatus, driverComparator, driverVersion, suggestedVersion) \
mDriverInfo->AppendElement(GfxDriverInfo(os, vendor, devices, feature, featureStatus, driverComparator, driverVersion, suggestedVersion))