| Index: src/views/mac/SkNSView.mm
|
| diff --git a/src/views/mac/SkNSView.mm b/src/views/mac/SkNSView.mm
|
| index 3a096f684a026ac6c9ba27fc6d91a09dc06dbab0..73b353f15d77c8d512d1f38e683317fae12d4dfc 100644
|
| --- a/src/views/mac/SkNSView.mm
|
| +++ b/src/views/mac/SkNSView.mm
|
| @@ -344,7 +344,7 @@ static CGLContextObj createGLContext(int msaaSampleCount) {
|
| CGLPixelFormatObj format;
|
| GLint npix = 0;
|
| if (msaaSampleCount > 0) {
|
| - static int kAttributeCount = SK_ARRAY_COUNT(attributes);
|
| + static const int kAttributeCount = SK_ARRAY_COUNT(attributes);
|
| CGLPixelFormatAttribute msaaAttributes[kAttributeCount + 5];
|
| memcpy(msaaAttributes, attributes, sizeof(attributes));
|
| SkASSERT(0 == msaaAttributes[kAttributeCount - 1]);
|
|
|