Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3986)

Unified Diff: cc/damage_tracker.h

Issue 11142025: cc: Remove wtf hashmap from damage tracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/damage_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/damage_tracker.h
diff --git a/cc/damage_tracker.h b/cc/damage_tracker.h
index c7550a26ba32b2b944cd674cf69aec06c92901bd..5121b064e8d28219798b8ef1e02a8d8b8e4f10c6 100644
--- a/cc/damage_tracker.h
+++ b/cc/damage_tracker.h
@@ -5,11 +5,10 @@
#ifndef CCDamageTracker_h
#define CCDamageTracker_h
+#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "FloatRect.h"
#include <vector>
-#include <wtf/HashMap.h>
-#include <wtf/Vector.h>
namespace WebKit {
class WebFilterOperations;
@@ -50,7 +49,7 @@ private:
// To correctly track exposed regions, two hashtables of rects are maintained.
// The "current" map is used to compute exposed regions of the current frame, while
// the "next" map is used to collect layer rects that are used in the next frame.
- typedef HashMap<int, FloatRect> RectMap;
+ typedef base::hash_map<int, FloatRect> RectMap;
scoped_ptr<RectMap> m_currentRectHistory;
scoped_ptr<RectMap> m_nextRectHistory;
« no previous file with comments | « no previous file | cc/damage_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698