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

Unified Diff: ui/gfx/ipc/gfx_param_traits.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/gfx/ios/uikit_util_unittest.mm ('k') | ui/gfx/mac/io_surface_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ipc/gfx_param_traits.cc
diff --git a/ui/gfx/ipc/gfx_param_traits.cc b/ui/gfx/ipc/gfx_param_traits.cc
index 32fd2da5605677de3961573d1f79c771a97726ea..2eeefbf0580d4619ffab706812960a06f46310f4 100644
--- a/ui/gfx/ipc/gfx_param_traits.cc
+++ b/ui/gfx/ipc/gfx_param_traits.cc
@@ -4,6 +4,9 @@
#include "ui/gfx/ipc/gfx_param_traits.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "third_party/skia/include/core/SkBitmap.h"
@@ -23,10 +26,10 @@ struct SkBitmap_Data {
SkAlphaType fAlphaType;
// The width of the bitmap in pixels.
- uint32 fWidth;
+ uint32_t fWidth;
// The height of the bitmap in pixels.
- uint32 fHeight;
+ uint32_t fHeight;
void InitSkBitmapDataForTransfer(const SkBitmap& bitmap) {
const SkImageInfo& info = bitmap.info();
« no previous file with comments | « ui/gfx/ios/uikit_util_unittest.mm ('k') | ui/gfx/mac/io_surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698