Chromium Code Reviews| Index: ui/aura/window_tree_host.cc |
| =================================================================== |
| --- ui/aura/window_tree_host.cc (revision 245814) |
| +++ ui/aura/window_tree_host.cc (working copy) |
| @@ -167,10 +167,7 @@ |
| : delegate_(NULL) { |
| } |
| -void WindowTreeHost::DestroyCompositor() { |
| - DCHECK(GetAcceleratedWidget()); |
| - compositor_.reset(); |
| -} |
| +void WindowTreeHost::DestroyCompositor() { compositor_.reset(); } |
| void WindowTreeHost::CreateCompositor( |
| gfx::AcceleratedWidget accelerated_widget) { |