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

Unified Diff: chrome/renderer/tts_dispatcher.cc

Issue 2829163004: Remove uses of base::hash_map from //chrome (Closed)
Patch Set: Downloads back Created 3 years, 6 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 | « chrome/renderer/tts_dispatcher.h ('k') | ui/base/ime/chromeos/input_method_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/tts_dispatcher.cc
diff --git a/chrome/renderer/tts_dispatcher.cc b/chrome/renderer/tts_dispatcher.cc
index 4a01190a284829bc20b4153a58e6745aa6bc285e..4457253d15b77cf3f16b7f60e9eb9cd151e69b6e 100644
--- a/chrome/renderer/tts_dispatcher.cc
+++ b/chrome/renderer/tts_dispatcher.cc
@@ -86,8 +86,7 @@ void TtsDispatcher::Cancel() {
}
WebSpeechSynthesisUtterance TtsDispatcher::FindUtterance(int utterance_id) {
- base::hash_map<int, WebSpeechSynthesisUtterance>::const_iterator iter =
- utterance_id_map_.find(utterance_id);
+ const auto iter = utterance_id_map_.find(utterance_id);
if (iter == utterance_id_map_.end())
return WebSpeechSynthesisUtterance();
return iter->second;
« no previous file with comments | « chrome/renderer/tts_dispatcher.h ('k') | ui/base/ime/chromeos/input_method_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698