| Index: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp
|
| index d0f105a2c9c9566d296163207c6648a5e9eac02e..8d2e54509af54471b86fb2a36ec31799d60fa9c0 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp
|
| @@ -31,7 +31,7 @@ WebGLCompressedTextureASTC::WebGLCompressedTextureASTC(WebGLRenderingContextBase
|
| const int kAlphaFormatGap =
|
| GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR - GL_COMPRESSED_RGBA_ASTC_4x4_KHR;
|
|
|
| - for (size_t i = 0; i < arraysize(WebGLCompressedTextureASTC::kBlockSizeCompressASTC); i++) {
|
| + for (size_t i = 0; i < WTF_ARRAY_LENGTH(WebGLCompressedTextureASTC::kBlockSizeCompressASTC); i++) {
|
| /* GL_COMPRESSED_RGBA_ASTC(0x93B0 ~ 0x93BD) */
|
| context->addCompressedTextureFormat(
|
| WebGLCompressedTextureASTC::kBlockSizeCompressASTC[i].CompressType);
|
|
|