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

Side by Side Diff: ui/gfx/harfbuzz_font_skia.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 unified diff | Download patch
« no previous file with comments | « ui/gfx/gpu_memory_buffer.cc ('k') | ui/gfx/icon_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/harfbuzz_font_skia.h" 5 #include "ui/gfx/harfbuzz_font_skia.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <limits> 10 #include <limits>
8 #include <map> 11 #include <map>
9 12
10 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
11 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
12 #include "third_party/skia/include/core/SkPaint.h" 16 #include "third_party/skia/include/core/SkPaint.h"
13 #include "third_party/skia/include/core/SkTypeface.h" 17 #include "third_party/skia/include/core/SkTypeface.h"
14 #include "ui/gfx/render_text.h" 18 #include "ui/gfx/render_text.h"
15 19
16 namespace gfx { 20 namespace gfx {
17 21
18 namespace { 22 namespace {
19 23
20 class HarfBuzzFace; 24 class HarfBuzzFace;
21 25
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // TODO(ckocagil): Do we need to update these params later? 279 // TODO(ckocagil): Do we need to update these params later?
276 internal::ApplyRenderParams(params, subpixel_rendering_suppressed, 280 internal::ApplyRenderParams(params, subpixel_rendering_suppressed,
277 &hb_font_data->paint_); 281 &hb_font_data->paint_);
278 hb_font_set_funcs(harfbuzz_font, g_font_funcs.Get().get(), hb_font_data, 282 hb_font_set_funcs(harfbuzz_font, g_font_funcs.Get().get(), hb_font_data,
279 DeleteByType<FontData>); 283 DeleteByType<FontData>);
280 hb_font_make_immutable(harfbuzz_font); 284 hb_font_make_immutable(harfbuzz_font);
281 return harfbuzz_font; 285 return harfbuzz_font;
282 } 286 }
283 287
284 } // namespace gfx 288 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/gpu_memory_buffer.cc ('k') | ui/gfx/icon_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698