Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index 4290bf91fbe93ffe7c408884bde7d9d6a4f86a2b..817751dea25d0c337810f52c9559d213ccf89b36 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -456,10 +456,10 @@ std::string GpuChannel::GetChannelName() { |
} |
#if defined(OS_POSIX) |
-int GpuChannel::TakeRendererFileDescriptor() { |
+base::ScopedFD GpuChannel::TakeRendererFileDescriptor() { |
if (!channel_) { |
NOTREACHED(); |
- return -1; |
+ return base::ScopedFD(); |
} |
return channel_->TakeClientFileDescriptor(); |
} |