Index: src/views/mac/SkNSView.mm |
diff --git a/src/views/mac/SkNSView.mm b/src/views/mac/SkNSView.mm |
index fd26e8a5b9cbb0b19eba8337220897112bd3238e..a8376e62c96f44ad49b093eb8e82894ea530848a 100644 |
--- a/src/views/mac/SkNSView.mm |
+++ b/src/views/mac/SkNSView.mm |
@@ -10,7 +10,7 @@ |
#include "SkSurface.h" |
#include "SkCGUtils.h" |
#include "SkEvent.h" |
-SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build); |
+static_assert(SK_SUPPORT_GPU, "not_implemented_for_non_gpu_build"); |
#include <OpenGL/gl.h> |
//#define FORCE_REDRAW |