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

Unified Diff: chrome/browser/chrome_plugin_browsertest.cc

Issue 655413002: Convert ARRAYSIZE_UNSAFE -> arraysize in chrome/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: chrome/browser/chrome_plugin_browsertest.cc
diff --git a/chrome/browser/chrome_plugin_browsertest.cc b/chrome/browser/chrome_plugin_browsertest.cc
index 9ab74a69acd624f3a1749733e739bb94a708ff09..8085e7e5449659a9db890725d8657e27c0686501 100644
--- a/chrome/browser/chrome_plugin_browsertest.cc
+++ b/chrome/browser/chrome_plugin_browsertest.cc
@@ -261,7 +261,7 @@ IN_PROC_BROWSER_TEST_F(ChromePluginTest, InstalledPlugins) {
};
std::vector<content::WebPluginInfo> plugins = GetPlugins();
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(expected); ++i) {
+ for (size_t i = 0; i < arraysize(expected); ++i) {
size_t j = 0;
for (; j < plugins.size(); ++j) {
if (plugins[j].name == base::ASCIIToUTF16(expected[i]))
« no previous file with comments | « chrome/browser/browser_encoding_browsertest.cc ('k') | chrome/browser/chromeos/drive/change_list_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698