Index: components/nacl/browser/pnacl_host_unittest.cc |
diff --git a/components/nacl/browser/pnacl_host_unittest.cc b/components/nacl/browser/pnacl_host_unittest.cc |
index 992f607c27305beeac66d978358eac12a308b8e3..5d08380e0078c69c5cf65d608c979caf2405e7eb 100644 |
--- a/components/nacl/browser/pnacl_host_unittest.cc |
+++ b/components/nacl/browser/pnacl_host_unittest.cc |
@@ -69,7 +69,7 @@ class PnaclHostTest : public testing::Test { |
// CallbackExpectMiss checks that the fd is valid and a miss is reported, |
// and also writes some data into the file, which is read back by |
// CallbackExpectHit |
- void CallbackExpectMiss(const base::File& file, bool is_hit) { |
+ void CallbackExpectMiss(base::File file, bool is_hit) { |
EXPECT_FALSE(is_hit); |
ASSERT_TRUE(file.IsValid()); |
base::File::Info info; |
@@ -84,7 +84,7 @@ class PnaclHostTest : public testing::Test { |
static_cast<size_t>(mutable_file->Write(0, str, kBufferSize))); |
temp_callback_count_++; |
} |
- void CallbackExpectHit(const base::File& file, bool is_hit) { |
+ void CallbackExpectHit(base::File file, bool is_hit) { |
EXPECT_TRUE(is_hit); |
ASSERT_TRUE(file.IsValid()); |
base::File::Info info; |