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

Unified Diff: skia/ext/skia_utils_win.h

Issue 823403002: replace COMPILE_ASSERT with static_assert in skia/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 5 years, 11 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 | « skia/ext/convolver.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_win.h
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h
index 98e1b999be796dae629a13dc247b5c963c570823..6ac5234b6b010e475f22463ebc58f02e8ea8210b 100644
--- a/skia/ext/skia_utils_win.h
+++ b/skia/ext/skia_utils_win.h
@@ -24,15 +24,15 @@ POINT SkPointToPOINT(const SkPoint& point);
SkRect RECTToSkRect(const RECT& rect);
// Converts a Windows RECT to a Skia rect.
-// Both use same in-memory format. Verified by COMPILE_ASSERT() in
-// skia_utils.cc.
+// Both use same in-memory format. Verified by SK_COMPILE_ASSERT() in
+// skia_utils_win.cc.
inline const SkIRect& RECTToSkIRect(const RECT& rect) {
return reinterpret_cast<const SkIRect&>(rect);
}
// Converts a Skia rect to a Windows RECT.
-// Both use same in-memory format. Verified by COMPILE_ASSERT() in
-// skia_utils.cc.
+// Both use same in-memory format. Verified by SK_COMPILE_ASSERT() in
+// skia_utils_win.cc.
inline const RECT& SkIRectToRECT(const SkIRect& rect) {
return reinterpret_cast<const RECT&>(rect);
}
« no previous file with comments | « skia/ext/convolver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698