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

Unified Diff: ui/gfx/nine_image_painter.h

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/native_widget_types.h ('k') | ui/gfx/nine_image_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/nine_image_painter.h
diff --git a/ui/gfx/nine_image_painter.h b/ui/gfx/nine_image_painter.h
index 224badafbd9873a57d4d2463b7ed4b7679241b8f..9a579edb8ffec3dbe2fe6c8be8fe69528fe14f93 100644
--- a/ui/gfx/nine_image_painter.h
+++ b/ui/gfx/nine_image_painter.h
@@ -5,10 +5,13 @@
#ifndef UI_GFX_NINE_IMAGE_PAINTER_H_
#define UI_GFX_NINE_IMAGE_PAINTER_H_
+#include <stdint.h>
+
#include <vector>
#include "base/gtest_prod_util.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "ui/gfx/gfx_export.h"
#include "ui/gfx/image/image_skia.h"
@@ -27,7 +30,7 @@ class GFX_EXPORT NineImagePainter {
bool IsEmpty() const;
Size GetMinimumSize() const;
void Paint(Canvas* canvas, const Rect& bounds);
- void Paint(Canvas* canvas, const Rect& bounds, uint8 alpha);
+ void Paint(Canvas* canvas, const Rect& bounds, uint8_t alpha);
private:
friend class NineImagePainterTest;
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/gfx/nine_image_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698