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

Unified Diff: ppapi/proxy/serialized_handle.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 | « ppapi/proxy/serialized_handle.h ('k') | ppapi/proxy/serialized_structs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_handle.cc
diff --git a/ppapi/proxy/serialized_handle.cc b/ppapi/proxy/serialized_handle.cc
index ee0f359f082446fbbfef31e1eb6fa58c5b4dc761..f5eda8707a58302c4bbd6112771d6de89be9932b 100644
--- a/ppapi/proxy/serialized_handle.cc
+++ b/ppapi/proxy/serialized_handle.cc
@@ -36,14 +36,13 @@ SerializedHandle::SerializedHandle(Type type_param)
}
SerializedHandle::SerializedHandle(const base::SharedMemoryHandle& handle,
- uint32 size)
+ uint32_t size)
: type_(SHARED_MEMORY),
shm_handle_(handle),
size_(size),
descriptor_(IPC::InvalidPlatformFileForTransit()),
open_flags_(0),
- file_io_(0) {
-}
+ file_io_(0) {}
SerializedHandle::SerializedHandle(
Type type,
@@ -113,7 +112,7 @@ bool SerializedHandle::ReadHeader(base::PickleIterator* iter, Header* hdr) {
bool valid_type = false;
switch (type) {
case SHARED_MEMORY: {
- uint32 size = 0;
+ uint32_t size = 0;
if (!iter->ReadUInt32(&size))
return false;
hdr->size = size;
« no previous file with comments | « ppapi/proxy/serialized_handle.h ('k') | ppapi/proxy/serialized_structs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698