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

Unified Diff: src/sfnt/SkPanose.h

Issue 1306443004: Use static_assert instead of SK_COMPILE_ASSERT. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 months 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 | « src/sfnt/SkOTTable_post.h ('k') | src/sfnt/SkSFNTHeader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sfnt/SkPanose.h
diff --git a/src/sfnt/SkPanose.h b/src/sfnt/SkPanose.h
index 873c093f5e070dfc1f5f28bbf336988b3e888212..9561e56fb078067ee51570daebe4af97c7cdd351 100644
--- a/src/sfnt/SkPanose.h
+++ b/src/sfnt/SkPanose.h
@@ -634,6 +634,6 @@ struct SkPanose {
#pragma pack(pop)
-SK_COMPILE_ASSERT(sizeof(SkPanose) == 10, sizeof_SkPanose_not_10);
+static_assert(sizeof(SkPanose) == 10, "sizeof_SkPanose_not_10");
#endif
« no previous file with comments | « src/sfnt/SkOTTable_post.h ('k') | src/sfnt/SkSFNTHeader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698