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

Unified Diff: gin/v8_initializer.cc

Issue 1541743002: Switch to standard integer types in gin/. (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 | « gin/v8_initializer.h ('k') | gin/v8_isolate_memory_dump_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/v8_initializer.cc
diff --git a/gin/v8_initializer.cc b/gin/v8_initializer.cc
index 5440b961c62814f2c9dc42d23ab48845d69e371c..cfb3630ebcf6d0cd70809465bd9af7464d8319d1 100644
--- a/gin/v8_initializer.cc
+++ b/gin/v8_initializer.cc
@@ -4,7 +4,9 @@
#include "gin/v8_initializer.h"
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/debug/alias.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
@@ -286,8 +288,8 @@ void V8Initializer::LoadV8Natives() {
// static
void V8Initializer::LoadV8SnapshotFromFD(base::PlatformFile snapshot_pf,
- int64 snapshot_offset,
- int64 snapshot_size) {
+ int64_t snapshot_offset,
+ int64_t snapshot_size) {
if (g_mapped_snapshot)
return;
@@ -318,8 +320,8 @@ void V8Initializer::LoadV8SnapshotFromFD(base::PlatformFile snapshot_pf,
// static
void V8Initializer::LoadV8NativesFromFD(base::PlatformFile natives_pf,
- int64 natives_offset,
- int64 natives_size) {
+ int64_t natives_offset,
+ int64_t natives_size) {
if (g_mapped_natives)
return;
« no previous file with comments | « gin/v8_initializer.h ('k') | gin/v8_isolate_memory_dump_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698