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

Unified Diff: mojo/runner/init.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « mojo/runner/host/out_of_process_native_runner.cc ('k') | mojo/runner/shell_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/init.cc
diff --git a/mojo/runner/init.cc b/mojo/runner/init.cc
index bb6aff89cdd35864bc6cf09e78dfeb4bbff3ccb9..ace54f5f5c753eaf2e1f4a53e3c3bd8f03030374 100644
--- a/mojo/runner/init.cc
+++ b/mojo/runner/init.cc
@@ -4,6 +4,8 @@
#include "mojo/runner/init.h"
+#include <stdint.h>
+
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
@@ -66,7 +68,7 @@ void WaitForDebuggerIfNecessary() {
void CallLibraryEarlyInitialization(base::NativeLibrary app_library) {
// Do whatever warming that the mojo application wants.
- typedef void (*LibraryEarlyInitFunction)(const uint8*);
+ typedef void (*LibraryEarlyInitFunction)(const uint8_t*);
LibraryEarlyInitFunction init_function =
reinterpret_cast<LibraryEarlyInitFunction>(
base::GetFunctionPointerFromNativeLibrary(app_library,
@@ -74,7 +76,7 @@ void CallLibraryEarlyInitialization(base::NativeLibrary app_library) {
if (init_function) {
// Get the ICU data that we prewarmed in the runner and then pass it to
// the copy of icu in the mojo binary that we're running.
- const uint8* icu_data = base::i18n::GetRawIcuMemory();
+ const uint8_t* icu_data = base::i18n::GetRawIcuMemory();
init_function(icu_data);
}
« no previous file with comments | « mojo/runner/host/out_of_process_native_runner.cc ('k') | mojo/runner/shell_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698