Internal change
PiperOrigin-RevId: 178770862
Change-Id: I353a263541fa8bf3129c5f1ba4583387662ee54c
diff --git a/src/url/url_util.cc b/src/url/url_util.cc
index 30f2e7e..d8c8ec0 100644
--- a/src/url/url_util.cc
+++ b/src/url/url_util.cc
@@ -517,20 +517,20 @@
if (initialized)
return;
InitSchemesWithType(&standard_schemes, kStandardURLSchemes,
- arraysize(kStandardURLSchemes));
+ ABSL_ARRAYSIZE(kStandardURLSchemes));
InitSchemesWithType(&referrer_schemes, kReferrerURLSchemes,
- arraysize(kReferrerURLSchemes));
- InitSchemes(&secure_schemes, kSecureSchemes, arraysize(kSecureSchemes));
- InitSchemes(&local_schemes, kLocalSchemes, arraysize(kLocalSchemes));
+ ABSL_ARRAYSIZE(kReferrerURLSchemes));
+ InitSchemes(&secure_schemes, kSecureSchemes, ABSL_ARRAYSIZE(kSecureSchemes));
+ InitSchemes(&local_schemes, kLocalSchemes, ABSL_ARRAYSIZE(kLocalSchemes));
InitSchemes(&no_access_schemes, kNoAccessSchemes,
- arraysize(kNoAccessSchemes));
+ ABSL_ARRAYSIZE(kNoAccessSchemes));
InitSchemes(&cors_enabled_schemes, kCORSEnabledSchemes,
- arraysize(kCORSEnabledSchemes));
+ ABSL_ARRAYSIZE(kCORSEnabledSchemes));
InitSchemes(&web_storage_schemes, kWebStorageSchemes,
- arraysize(kWebStorageSchemes));
+ ABSL_ARRAYSIZE(kWebStorageSchemes));
InitSchemes(&csp_bypassing_schemes, nullptr, 0);
InitSchemes(&empty_document_schemes, kEmptyDocumentSchemes,
- arraysize(kEmptyDocumentSchemes));
+ ABSL_ARRAYSIZE(kEmptyDocumentSchemes));
initialized = true;
}