| Index: src/gpu/GrAtlasTextContext.cpp
|
| diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
|
| index a556128be5f9f928b64844bc5ccf6958b5d55e60..aa4c51d85aad0958ed6f02a155bc8fd6a09a538e 100644
|
| --- a/src/gpu/GrAtlasTextContext.cpp
|
| +++ b/src/gpu/GrAtlasTextContext.cpp
|
| @@ -103,8 +103,8 @@ GrAtlasTextContext::GrAtlasTextContext(GrContext* context,
|
| , fDistanceAdjustTable(SkNEW(DistanceAdjustTable)) {
|
| // We overallocate vertices in our textblobs based on the assumption that A8 has the greatest
|
| // vertexStride
|
| - SK_COMPILE_ASSERT(kGrayTextVASize >= kColorTextVASize && kGrayTextVASize >= kLCDTextVASize,
|
| - vertex_attribute_changed);
|
| + static_assert(kGrayTextVASize >= kColorTextVASize && kGrayTextVASize >= kLCDTextVASize,
|
| + "vertex_attribute_changed");
|
| fCurrStrike = NULL;
|
| fCache = context->getTextBlobCache();
|
| }
|
|
|