Index: src/views/mac/SkOSWindow_Mac.mm |
diff --git a/src/views/mac/SkOSWindow_Mac.mm b/src/views/mac/SkOSWindow_Mac.mm |
index 2b11ffcbd38ef2dd3cf02ce9058f563b98e5631b..9dbbe5bfc29435b61620dc9c0cce924f16c4df03 100644 |
--- a/src/views/mac/SkOSWindow_Mac.mm |
+++ b/src/views/mac/SkOSWindow_Mac.mm |
@@ -16,7 +16,7 @@ |
#import "SkEventNotifier.h" |
#define kINVAL_NSVIEW_EventType "inval-nsview" |
-SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build); |
+static_assert(SK_SUPPORT_GPU, "not_implemented_for_non_gpu_build"); |
SkOSWindow::SkOSWindow(void* hWnd) : fHWND(hWnd) { |
fInvalEventIsPending = false; |