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..f14ae12383c2d07a7d7c0ed649205fa8969c02f7 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()) { |
| + CHECK(false); |
|
ddorwin
2011/12/08 19:17:27
Replace the if statement with a CHECK? The return
xhwang
2011/12/08 19:37:49
This will be a temporary change.
|
| return true; |
| + } |
| // Map renderer ID to a (single) channel to that process. |
| std::string channel_name = GetChannelName(); |