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

Unified Diff: gin/v8_initializer.h

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/try_catch.h ('k') | gin/v8_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/v8_initializer.h
diff --git a/gin/v8_initializer.h b/gin/v8_initializer.h
index fcf2d2a8e0985c1533a8f0228016f069ae23ee1d..dcb5329d074383f6a80a4aab34848d2935596df3 100644
--- a/gin/v8_initializer.h
+++ b/gin/v8_initializer.h
@@ -5,6 +5,8 @@
#ifndef GIN_V8_INITIALIZER_H_
#define GIN_V8_INITIALIZER_H_
+#include <stdint.h>
+
#include "base/files/file.h"
#include "base/files/memory_mapped_file.h"
#include "gin/array_buffer.h"
@@ -36,14 +38,14 @@ class GIN_EXPORT V8Initializer {
// of the files to be loaded. Since the VM can boot with or without
// the snapshot, this function does not return a status.
static void LoadV8SnapshotFromFD(base::PlatformFile snapshot_fd,
- int64 snapshot_offset,
- int64 snapshot_size);
+ int64_t snapshot_offset,
+ int64_t snapshot_size);
// Similar to LoadV8SnapshotFromFD, but for the source of the natives.
// Without the natives we cannot continue, so this function contains
// release mode asserts and won't return if it fails.
static void LoadV8NativesFromFD(base::PlatformFile natives_fd,
- int64 natives_offset,
- int64 natives_size);
+ int64_t natives_offset,
+ int64_t natives_size);
// Load V8 snapshot from default resources, if they are available.
static void LoadV8Snapshot();
« no previous file with comments | « gin/try_catch.h ('k') | gin/v8_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698