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

Unified Diff: Source/core/loader/MixedContentCheckerTest.cpp

Issue 666593002: Convert ARRAYSIZE_UNSAFE -> arraysize. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « no previous file | Source/platform/weborigin/DatabaseIdentifierTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/MixedContentCheckerTest.cpp
diff --git a/Source/core/loader/MixedContentCheckerTest.cpp b/Source/core/loader/MixedContentCheckerTest.cpp
index 903bc2f80cc66ce7ed0b54952f871dba966b3f89..a9f156b67d651983f63df1c95e7efbf20ce8e6af 100644
--- a/Source/core/loader/MixedContentCheckerTest.cpp
+++ b/Source/core/loader/MixedContentCheckerTest.cpp
@@ -31,7 +31,7 @@ TEST(MixedContentCheckerTest, IsMixedContent)
{"https://example.com/foo", "ws://google.com/foo", true},
};
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(cases); ++i) {
+ for (size_t i = 0; i < arraysize(cases); ++i) {
const char* origin = cases[i].origin;
const char* target = cases[i].target;
bool expectation = cases[i].expectation;
« no previous file with comments | « no previous file | Source/platform/weborigin/DatabaseIdentifierTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698