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

Unified Diff: ui/surface/accelerated_surface_mac.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/accelerated_surface_mac.h ('k') | ui/surface/transport_dib.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/accelerated_surface_mac.cc
diff --git a/ui/surface/accelerated_surface_mac.cc b/ui/surface/accelerated_surface_mac.cc
index 324c47182212b8f9866238dcd1298d7ef40c1f76..630ee7b32710e58791a61cbe759d11d1d21f23c8 100644
--- a/ui/surface/accelerated_surface_mac.cc
+++ b/ui/surface/accelerated_surface_mac.cc
@@ -116,7 +116,7 @@ static void AddBooleanValue(CFMutableDictionaryRef dictionary,
static void AddIntegerValue(CFMutableDictionaryRef dictionary,
const CFStringRef key,
- int32 value) {
+ int32_t value) {
base::ScopedCFTypeRef<CFNumberRef> number(
CFNumberCreate(NULL, kCFNumberSInt32Type, &value));
CFDictionaryAddValue(dictionary, key, number.get());
@@ -181,7 +181,7 @@ void AcceleratedSurface::Clear(const gfx::Rect& rect) {
glClear(GL_COLOR_BUFFER_BIT);
}
-uint32 AcceleratedSurface::SetSurfaceSize(const gfx::Size& size) {
+uint32_t AcceleratedSurface::SetSurfaceSize(const gfx::Size& size) {
if (surface_size_ == size) {
// Return 0 to indicate to the caller that no new backing store
// allocation occurred.
@@ -261,6 +261,6 @@ uint32 AcceleratedSurface::SetSurfaceSize(const gfx::Size& size) {
return io_surface_id_;
}
-uint32 AcceleratedSurface::GetSurfaceId() {
+uint32_t AcceleratedSurface::GetSurfaceId() {
return io_surface_id_;
}
« no previous file with comments | « ui/surface/accelerated_surface_mac.h ('k') | ui/surface/transport_dib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698