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

Unified Diff: ppapi/proxy/plugin_array_buffer_var.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/plugin_array_buffer_var.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/plugin_array_buffer_var.cc
diff --git a/ppapi/proxy/plugin_array_buffer_var.cc b/ppapi/proxy/plugin_array_buffer_var.cc
index 7dd64d17b1329c6d023ae8a493a1795c211d8999..625facfa0a67658c6ba55bfbbde2fb872174c38f 100644
--- a/ppapi/proxy/plugin_array_buffer_var.cc
+++ b/ppapi/proxy/plugin_array_buffer_var.cc
@@ -26,17 +26,14 @@ using ppapi::proxy::PluginResourceTracker;
namespace ppapi {
-PluginArrayBufferVar::PluginArrayBufferVar(uint32 size_in_bytes)
+PluginArrayBufferVar::PluginArrayBufferVar(uint32_t size_in_bytes)
: buffer_(size_in_bytes),
plugin_handle_(base::SharedMemory::NULLHandle()),
- size_in_bytes_(size_in_bytes) {
-}
+ size_in_bytes_(size_in_bytes) {}
-PluginArrayBufferVar::PluginArrayBufferVar(uint32 size_in_bytes,
+PluginArrayBufferVar::PluginArrayBufferVar(uint32_t size_in_bytes,
SharedMemoryHandle plugin_handle)
- : plugin_handle_(plugin_handle),
- size_in_bytes_(size_in_bytes) {
-}
+ : plugin_handle_(plugin_handle), size_in_bytes_(size_in_bytes) {}
PluginArrayBufferVar::~PluginArrayBufferVar() {
Unmap();
@@ -72,7 +69,7 @@ void PluginArrayBufferVar::Unmap() {
shmem_->Unmap();
}
-uint32 PluginArrayBufferVar::ByteLength() {
+uint32_t PluginArrayBufferVar::ByteLength() {
return size_in_bytes_;
}
« no previous file with comments | « ppapi/proxy/plugin_array_buffer_var.h ('k') | ppapi/proxy/plugin_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698