Chromium Code Reviews| Index: content/common/gpu/gpu_channel.cc |
| diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
| index 27eb490fc6b069c01f3b7312aa693073e875c514..9840e2269ec6998f0e843e2bc876a8731a5f560b 100644 |
| --- a/content/common/gpu/gpu_channel.cc |
| +++ b/content/common/gpu/gpu_channel.cc |
| @@ -417,8 +417,10 @@ void GpuChannel::OnCloseChannel() { |
| bool GpuChannel::Init(base::MessageLoopProxy* io_message_loop, |
| base::WaitableEvent* shutdown_event) { |
| // Check whether we're already initialized. |
| - if (channel_.get()) |
| + if (channel_.get()) { |
| + NOTREACHED(); |
|
piman
2011/12/08 07:09:11
I think you meant something like LOG(FATAL) or CHE
xhwang
2011/12/08 19:37:49
Done.
|
| return true; |
| + } |
| // Map renderer ID to a (single) channel to that process. |
| std::string channel_name = GetChannelName(); |