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

Unified Diff: ui/gfx/render_text.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/range/range_mac.mm ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index 25780a70f08903a816c9b38c3def837c22cb457c..522cc4d0d9b9877c5fe619b9da345d5068f1fb39 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -5,6 +5,9 @@
#ifndef UI_GFX_RENDER_TEXT_H_
#define UI_GFX_RENDER_TEXT_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <algorithm>
#include <cstring>
#include <string>
@@ -13,6 +16,7 @@
#include "base/gtest_prod_util.h"
#include "base/i18n/rtl.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "skia/ext/refptr.h"
@@ -67,7 +71,7 @@ class GFX_EXPORT SkiaTextRenderer {
void SetUnderlineMetrics(SkScalar thickness, SkScalar position);
void DrawSelection(const std::vector<Rect>& selection, SkColor color);
virtual void DrawPosText(const SkPoint* pos,
- const uint16* glyphs,
+ const uint16_t* glyphs,
size_t glyph_count);
// Draw underline and strike-through text decorations.
// Based on |SkCanvas::DrawTextDecorations()| and constants from:
« no previous file with comments | « ui/gfx/range/range_mac.mm ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698