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

Unified Diff: ui/surface/accelerated_surface_mac.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/snapshot/snapshot_aura_unittest.cc ('k') | ui/surface/accelerated_surface_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/accelerated_surface_mac.h
diff --git a/ui/surface/accelerated_surface_mac.h b/ui/surface/accelerated_surface_mac.h
index 4684f5f4d02d1446d4d3be9412e600ae67f5907d..9defa33a9a9b5b70010f6c12f514de7fd5b38858 100644
--- a/ui/surface/accelerated_surface_mac.h
+++ b/ui/surface/accelerated_surface_mac.h
@@ -7,6 +7,7 @@
#include <CoreFoundation/CoreFoundation.h>
#include <IOSurface/IOSurface.h>
+#include <stdint.h>
#include "base/callback.h"
#include "base/mac/scoped_cftyperef.h"
@@ -61,10 +62,10 @@ class SURFACE_EXPORT AcceleratedSurface {
// the height or width changes. Returns a unique id of the IOSurface to
// which the surface is bound, or 0 if no changes were made or an error
// occurred. MakeCurrent() will have been called on the new surface.
- uint32 SetSurfaceSize(const gfx::Size& size);
+ uint32_t SetSurfaceSize(const gfx::Size& size);
// Returns the id of this surface's IOSurface.
- uint32 GetSurfaceId();
+ uint32_t GetSurfaceId();
// Sets the GL context to be the current one for drawing. Returns true if
// it succeeded.
@@ -122,7 +123,7 @@ class SURFACE_EXPORT AcceleratedSurface {
base::ScopedCFTypeRef<IOSurfaceRef> io_surface_;
// The id of |io_surface_| or 0 if that's NULL.
- uint32 io_surface_id_;
+ uint32_t io_surface_id_;
gfx::Size surface_size_;
// It's important to avoid allocating zero-width or zero-height
« no previous file with comments | « ui/snapshot/snapshot_aura_unittest.cc ('k') | ui/surface/accelerated_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698