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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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
Index: chrome/renderer/spellchecker/spellcheck_provider.cc
diff --git a/chrome/renderer/spellchecker/spellcheck_provider.cc b/chrome/renderer/spellchecker/spellcheck_provider.cc
index 0d7705d0f8f194d4d06be15d9ec084ec644ba0f9..576460e8dbe025b12abf2170c26ccb7e76a7883e 100644
--- a/chrome/renderer/spellchecker/spellcheck_provider.cc
+++ b/chrome/renderer/spellchecker/spellcheck_provider.cc
@@ -163,7 +163,7 @@ void SpellCheckProvider::checkTextOfParagraph(
void SpellCheckProvider::requestCheckingOfText(
const WebString& text,
- const WebVector<uint32>& markers,
+ const WebVector<uint32_t>& markers,
const WebVector<unsigned>& marker_offsets,
WebTextCheckingCompletion* completion) {
std::vector<SpellCheckMarker> spellcheck_markers;
@@ -234,7 +234,7 @@ bool SpellCheckProvider::HasWordCharacters(
const base::char16* data = text.data();
int length = text.length();
while (index < length) {
- uint32 code = 0;
+ uint32_t code = 0;
U16_NEXT(data, index, length, code);
UErrorCode error = U_ZERO_ERROR;
if (uscript_getScript(code, &error) != USCRIPT_COMMON)
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_provider.h ('k') | chrome/renderer/spellchecker/spellcheck_provider_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698