From f6138fbe65cc4f5bc1a1fdafd5339f1e91e7f972 Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Mon, 11 Jun 2012 16:16:46 -0700 Subject: [PATCH] Eliminate Assertions.h's dependency on Types.h, for a narrower interface and minimized dependencies. No bug, r=Ms2ger --HG-- extra : rebase_source : b5c79dc444ef7277f2624ffe2407bca25a1054cd --- mfbt/Assertions.h | 2 +- mfbt/HashFunctions.cpp | 1 + mfbt/HashFunctions.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mfbt/Assertions.h b/mfbt/Assertions.h index 25d7d8ebd20..407fb24e98d 100644 --- a/mfbt/Assertions.h +++ b/mfbt/Assertions.h @@ -9,8 +9,8 @@ #define mozilla_Assertions_h_ #include "mozilla/Attributes.h" -#include "mozilla/Types.h" +#include #include #include #ifdef WIN32 diff --git a/mfbt/HashFunctions.cpp b/mfbt/HashFunctions.cpp index 199e265de52..28d4c9f4022 100644 --- a/mfbt/HashFunctions.cpp +++ b/mfbt/HashFunctions.cpp @@ -6,6 +6,7 @@ /* Implementations of hash functions. */ #include "mozilla/HashFunctions.h" +#include "mozilla/Types.h" #include diff --git a/mfbt/HashFunctions.h b/mfbt/HashFunctions.h index 64ac6f91ce5..7a19749e556 100644 --- a/mfbt/HashFunctions.h +++ b/mfbt/HashFunctions.h @@ -48,6 +48,7 @@ #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/StandardInteger.h" +#include "mozilla/Types.h" #ifdef __cplusplus namespace mozilla {