Chromium Code Reviews| Index: content/common/gpu/gpu_channel_manager.cc |
| diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc |
| index cacb7eb61b815cf4b903f543d8af5134e34af5d2..53dbeb0fd4a6e379ef89400a3afedf432b59f9b8 100644 |
| --- a/content/common/gpu/gpu_channel_manager.cc |
| +++ b/content/common/gpu/gpu_channel_manager.cc |
| @@ -79,8 +79,10 @@ void GpuChannelManager::OnEstablishChannel(int renderer_id) { |
| GpuChannelMap::const_iterator iter = gpu_channels_.find(renderer_id); |
| if (iter == gpu_channels_.end()) |
| channel = new GpuChannel(this, watchdog_, renderer_id, false); |
| - else |
| + else { |
|
piman
2011/12/08 07:09:11
nit: braces on both sides of the else.
xhwang
2011/12/08 19:37:49
Done.
|
| + NOTREACHED(); |
| channel = iter->second; |
| + } |
| DCHECK(channel != NULL); |