Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas

--HG--
extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
This commit is contained in:
Brian Smith 2015-01-08 15:42:38 -08:00
parent b547c79f52
commit f239d701ac
3 changed files with 2 additions and 18 deletions

View File

@ -12,7 +12,7 @@
#include <fstream>
#if defined(_MSC_VER)
#include <hash_set>
#include <unordered_set>
#else
#include <set>
#endif
@ -53,7 +53,7 @@ protected:
virtual void Flush() = 0;
#if defined(_MSC_VER)
typedef stdext::hash_set<const void*> ObjectSet;
typedef std::unordered_set<const void*> ObjectSet;
#else
typedef std::set<const void*> ObjectSet;
#endif

View File

@ -14,11 +14,7 @@
#include <vector>
#include <sstream>
#ifdef _MSC_VER
#include <hash_set>
#else
#include <unordered_set>
#endif
struct IDWriteFactory;
@ -165,11 +161,7 @@ private:
friend class AutoSaveRestoreClippedOut;
friend class SourceSurfaceD2DTarget;
#ifdef _MSC_VER
typedef stdext::hash_set<DrawTargetD2D*> TargetSet;
#else
typedef std::unordered_set<DrawTargetD2D*> TargetSet;
#endif
bool InitD2DRenderTarget();
void PrepareForDrawing(ID2D1RenderTarget *aRT);

View File

@ -15,11 +15,7 @@
#include <vector>
#include <sstream>
#ifdef _MSC_VER
#include <hash_set>
#else
#include <unordered_set>
#endif
struct IDWriteFactory;
@ -154,11 +150,7 @@ public:
private:
friend class SourceSurfaceD2D1;
#ifdef _MSC_VER
typedef stdext::hash_set<DrawTargetD2D1*> TargetSet;
#else
typedef std::unordered_set<DrawTargetD2D1*> TargetSet;
#endif
// This function will mark the surface as changing, and make sure any
// copy-on-write snapshots are notified.