Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(904)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp

Issue 1548993002: Switch to standard integer types in base/strings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698