Index: base/files/file_proxy_unittest.cc |
diff --git a/base/files/file_proxy_unittest.cc b/base/files/file_proxy_unittest.cc |
index 0034a1cb4409551eb259c45920ef51adc4e2c333..b5ed3950a05c9f9844e5960ce72cbfe9b5612794 100644 |
--- a/base/files/file_proxy_unittest.cc |
+++ b/base/files/file_proxy_unittest.cc |
@@ -267,7 +267,7 @@ TEST_F(FileProxyTest, WriteAndFlush) { |
CreateProxy(File::FLAG_CREATE | File::FLAG_WRITE, &proxy); |
const char data[] = "foo!"; |
- int data_bytes = ARRAYSIZE_UNSAFE(data); |
+ int data_bytes = arraysize(data); |
proxy.Write(0, data, data_bytes, |
Bind(&FileProxyTest::DidWrite, weak_factory_.GetWeakPtr())); |
MessageLoop::current()->Run(); |