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

Unified Diff: ui/surface/transport_dib_posix.cc

Issue 1550483002: Switch to standard integer types in ui/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-ui-events
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 | « ui/surface/transport_dib.h ('k') | ui/surface/transport_dib_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/transport_dib_posix.cc
diff --git a/ui/surface/transport_dib_posix.cc b/ui/surface/transport_dib_posix.cc
index f52fcbc2ff9fa3cd95521ba19e913aa0a3574def..be1a37363aad1afa171a0f7f9aa3c111634e595f 100644
--- a/ui/surface/transport_dib_posix.cc
+++ b/ui/surface/transport_dib_posix.cc
@@ -4,12 +4,15 @@
#include "ui/surface/transport_dib.h"
+#include <stddef.h>
+#include <stdint.h>
#include <sys/stat.h>
#include <unistd.h>
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
+#include "build/build_config.h"
#include "skia/ext/platform_canvas.h"
TransportDIB::TransportDIB()
@@ -25,7 +28,7 @@ TransportDIB::~TransportDIB() {
}
// static
-TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) {
+TransportDIB* TransportDIB::Create(size_t size, uint32_t sequence_num) {
TransportDIB* dib = new TransportDIB;
if (!dib->shared_memory_.CreateAndMapAnonymous(size)) {
delete dib;
« no previous file with comments | « ui/surface/transport_dib.h ('k') | ui/surface/transport_dib_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698