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

Unified Diff: components/font_service/font_service_app.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 | « components/font_service/font_service_app.h ('k') | components/font_service/public/cpp/font_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/font_service/font_service_app.cc
diff --git a/components/font_service/font_service_app.cc b/components/font_service/font_service_app.cc
index 350bc5f07324bcaede39f55c4f4a3046ab0cbfae..110118527c915a54f88ee3dc0e226348504d8dee 100644
--- a/components/font_service/font_service_app.cc
+++ b/components/font_service/font_service_app.cc
@@ -9,18 +9,19 @@
#include "mojo/application/public/cpp/application_connection.h"
#include "mojo/platform_handle/platform_handle_functions.h"
-static_assert(static_cast<uint32>(SkTypeface::kNormal) ==
- static_cast<uint32>(font_service::TYPEFACE_STYLE_NORMAL),
+static_assert(static_cast<uint32_t>(SkTypeface::kNormal) ==
+ static_cast<uint32_t>(font_service::TYPEFACE_STYLE_NORMAL),
"Skia and font service flags must match");
-static_assert(static_cast<uint32>(SkTypeface::kBold) ==
- static_cast<uint32>(font_service::TYPEFACE_STYLE_BOLD),
+static_assert(static_cast<uint32_t>(SkTypeface::kBold) ==
+ static_cast<uint32_t>(font_service::TYPEFACE_STYLE_BOLD),
"Skia and font service flags must match");
-static_assert(static_cast<uint32>(SkTypeface::kItalic) ==
- static_cast<uint32>(font_service::TYPEFACE_STYLE_ITALIC),
- "Skia and font service flags must match");
-static_assert(static_cast<uint32>(SkTypeface::kBoldItalic) ==
- static_cast<uint32>(font_service::TYPEFACE_STYLE_BOLD_ITALIC),
+static_assert(static_cast<uint32_t>(SkTypeface::kItalic) ==
+ static_cast<uint32_t>(font_service::TYPEFACE_STYLE_ITALIC),
"Skia and font service flags must match");
+static_assert(
+ static_cast<uint32_t>(SkTypeface::kBoldItalic) ==
+ static_cast<uint32_t>(font_service::TYPEFACE_STYLE_BOLD_ITALIC),
+ "Skia and font service flags must match");
namespace {
« no previous file with comments | « components/font_service/font_service_app.h ('k') | components/font_service/public/cpp/font_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698