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

Unified Diff: ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 years, 8 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
Index: ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm
diff --git a/ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm b/ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm
index cd917a7f5647f082565afec61ecbeb3bbbce83a1..8901a7516b31cb0eb8d556498a515d98de9fe018 100644
--- a/ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm
+++ b/ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm
@@ -6,6 +6,7 @@
#import <Foundation/Foundation.h>
+#include <map>
#include <memory>
#include "base/ios/ios_util.h"
@@ -188,8 +189,8 @@ TEST_F(WebToolbarControllerTest, TestUpdateToolbar_TestLayoutOmnibox) {
// Test that the initial setup of the toolbar matches the layout produced by
// calling layoutOmnibox. If the initial frames do not match those set during
// layoutOmnibox, there will be minor animations during startup.
- typedef base::hash_map<unsigned long, CGRect> FrameHash;
- typedef base::hash_map<unsigned long, CGRect>::iterator FrameHashIter;
+ typedef std::map<unsigned long, CGRect> FrameHash;
+ typedef std::map<unsigned long, CGRect>::iterator FrameHashIter;
FrameHash initialFrames;
FrameHash postLayoutFrames;
« no previous file with comments | « gpu/ipc/host/shader_disk_cache.h ('k') | third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698