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

Unified Diff: content/renderer/speech_recognition_dispatcher.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « content/renderer/speech_recognition_dispatcher.h ('k') | content/renderer/stats_collection_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/speech_recognition_dispatcher.cc
diff --git a/content/renderer/speech_recognition_dispatcher.cc b/content/renderer/speech_recognition_dispatcher.cc
index 4719463ea92d57d8dcb2f113cf1a5f19f1bfda65..1b6500b41234084b13434434fc91ba648b17911b 100644
--- a/content/renderer/speech_recognition_dispatcher.cc
+++ b/content/renderer/speech_recognition_dispatcher.cc
@@ -4,7 +4,9 @@
#include "content/renderer/speech_recognition_dispatcher.h"
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/strings/utf_string_conversions.h"
#include "content/common/speech_recognition_messages.h"
#include "content/renderer/render_view_impl.h"
@@ -102,7 +104,7 @@ void SpeechRecognitionDispatcher::start(
}
msg_params.language =
base::UTF16ToUTF8(base::StringPiece16(params.language()));
- msg_params.max_hypotheses = static_cast<uint32>(params.maxAlternatives());
+ msg_params.max_hypotheses = static_cast<uint32_t>(params.maxAlternatives());
msg_params.continuous = params.continuous();
msg_params.interim_results = params.interimResults();
msg_params.origin_url = params.origin().toString().utf8();
« no previous file with comments | « content/renderer/speech_recognition_dispatcher.h ('k') | content/renderer/stats_collection_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698