summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_test_sink.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_test_sink.cc')
-rw-r--r--ipc/ipc_test_sink.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_test_sink.cc b/ipc/ipc_test_sink.cc
index e97cffd..1f76c04 100644
--- a/ipc/ipc_test_sink.cc
+++ b/ipc/ipc_test_sink.cc
@@ -100,9 +100,9 @@ int TestSink::GetClientFileDescriptor() const {
return -1;
}
-int TestSink::TakeClientFileDescriptor() {
+base::ScopedFD TestSink::TakeClientFileDescriptor() {
NOTREACHED();
- return -1;
+ return base::ScopedFD();
}
#endif // defined(OS_POSIX) && !defined(OS_NACL)