| Index: tools/PictureRenderer.h
|
| diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
|
| index ca36961b43a4600a2ee3d7a73793736465f39c09..a06604bc87ec365748a8f1802d384c06206c1d2e 100644
|
| --- a/tools/PictureRenderer.h
|
| +++ b/tools/PictureRenderer.h
|
| @@ -71,11 +71,12 @@ public:
|
| kMaskFilter_DrawFilterFlag = 0x80000, // toggles on/off mask filters (e.g., blurs)
|
| };
|
|
|
| - SK_COMPILE_ASSERT(!(kMaskFilter_DrawFilterFlag & SkPaint::kAllFlags), maskfilter_flag_must_be_greater);
|
| - SK_COMPILE_ASSERT(!(kHinting_DrawFilterFlag & SkPaint::kAllFlags),
|
| - hinting_flag_must_be_greater);
|
| - SK_COMPILE_ASSERT(!(kSlightHinting_DrawFilterFlag & SkPaint::kAllFlags),
|
| - slight_hinting_flag_must_be_greater);
|
| + static_assert(!(kMaskFilter_DrawFilterFlag & SkPaint::kAllFlags),
|
| + "maskfilter_flag_must_be_greater");
|
| + static_assert(!(kHinting_DrawFilterFlag & SkPaint::kAllFlags),
|
| + "hinting_flag_must_be_greater");
|
| + static_assert(!(kSlightHinting_DrawFilterFlag & SkPaint::kAllFlags),
|
| + "slight_hinting_flag_must_be_greater");
|
|
|
| /**
|
| * Called with each new SkPicture to render.
|
|
|