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

Unified Diff: content/shell/test_runner/mock_web_speech_recognizer.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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: content/shell/test_runner/mock_web_speech_recognizer.cc
diff --git a/content/shell/test_runner/mock_web_speech_recognizer.cc b/content/shell/test_runner/mock_web_speech_recognizer.cc
index 062f0e26d3d7b0950aacd21318a5282fda92c3c8..56c35ae8afa6561d29378c08f317ba4fa7b4816b 100644
--- a/content/shell/test_runner/mock_web_speech_recognizer.cc
+++ b/content/shell/test_runner/mock_web_speech_recognizer.cc
@@ -319,7 +319,7 @@ void MockWebSpeechRecognizer::RunTaskFromQueue() {
}
bool MockWebSpeechRecognizer::HasPendingNewContextTasks() const {
- for (const auto& task : task_queue_) {
+ for (auto* task : task_queue_) {
if (task->isNewContextTask())
return true;
}

Powered by Google App Engine
This is Rietveld 408576698