OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/aura/gpu_process_transport_factory.h" | 5 #include "content/browser/aura/gpu_process_transport_factory.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 observer_list_, | 476 observer_list_, |
477 OnLostResources()); | 477 OnLostResources()); |
478 | 478 |
479 // Kill things that use the shared context before killing the shared context. | 479 // Kill things that use the shared context before killing the shared context. |
480 lost_gl_helper.reset(); | 480 lost_gl_helper.reset(); |
481 lost_offscreen_compositor_contexts = NULL; | 481 lost_offscreen_compositor_contexts = NULL; |
482 lost_shared_main_thread_contexts = NULL; | 482 lost_shared_main_thread_contexts = NULL; |
483 } | 483 } |
484 | 484 |
485 } // namespace content | 485 } // namespace content |
OLD | NEW |