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

Unified Diff: ui/surface/transport_dib.h

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/accelerated_surface_mac.cc ('k') | ui/surface/transport_dib_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/transport_dib.h
diff --git a/ui/surface/transport_dib.h b/ui/surface/transport_dib.h
index 301654867775b2992629d9d6b66dda45f5ae269d..a14be68fcbb55cd06dbd0e4733515ef8fbc8734a 100644
--- a/ui/surface/transport_dib.h
+++ b/ui/surface/transport_dib.h
@@ -5,8 +5,12 @@
#ifndef UI_SURFACE_TRANSPORT_DIB_H_
#define UI_SURFACE_TRANSPORT_DIB_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/shared_memory.h"
+#include "build/build_config.h"
#include "ui/surface/surface_export.h"
#if defined(OS_WIN)
@@ -43,7 +47,7 @@ class SURFACE_EXPORT TransportDIB {
// The sequence number is used to uniquely identify the transport DIB. It
// should be unique for all transport DIBs ever created in the same
// renderer.
- static TransportDIB* Create(size_t size, uint32 sequence_num);
+ static TransportDIB* Create(size_t size, uint32_t sequence_num);
// Map the referenced transport DIB. The caller owns the returned object.
// Returns NULL on failure.
@@ -92,7 +96,7 @@ class SURFACE_EXPORT TransportDIB {
explicit TransportDIB(base::SharedMemoryHandle dib);
base::SharedMemory shared_memory_;
- uint32 sequence_num_;
+ uint32_t sequence_num_;
size_t size_; // length, in bytes
DISALLOW_COPY_AND_ASSIGN(TransportDIB);
« no previous file with comments | « ui/surface/accelerated_surface_mac.cc ('k') | ui/surface/transport_dib_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698