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

Unified Diff: services/files/file_impl_unittest.cc

Issue 1459033002: Replace (most) occurrences of mojo::Array<T>() with nullptr. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 | « services/files/file_impl.cc ('k') | services/url_response_disk_cache/url_response_disk_cache_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/file_impl_unittest.cc
diff --git a/services/files/file_impl_unittest.cc b/services/files/file_impl_unittest.cc
index a1d90c1984be107ca4793ac373d5e9431b82f7a2..c82f10cab4b52519e078841145e7ff62efa511b7 100644
--- a/services/files/file_impl_unittest.cc
+++ b/services/files/file_impl_unittest.cc
@@ -682,7 +682,7 @@ TEST_F(FileImplTest, Ioctl) {
// Normal files don't support any ioctls.
Array<uint32_t> out_values;
- file->Ioctl(0, Array<uint32_t>(), Capture(&error, &out_values));
+ file->Ioctl(0, nullptr, Capture(&error, &out_values));
ASSERT_TRUE(file.WaitForIncomingResponse());
EXPECT_EQ(Error::UNAVAILABLE, error);
EXPECT_TRUE(out_values.is_null());
« no previous file with comments | « services/files/file_impl.cc ('k') | services/url_response_disk_cache/url_response_disk_cache_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698