OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/owned_mailbox.h" | 5 #include "content/browser/aura/owned_mailbox.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "content/browser/aura/image_transport_factory.h" | 8 #include "content/browser/aura/image_transport_factory.h" |
9 #include "content/common/gpu/client/gl_helper.h" | 9 #include "content/common/gpu/client/gl_helper.h" |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 sync_point_ = 0; | 36 sync_point_ = 0; |
37 gl_helper_ = NULL; | 37 gl_helper_ = NULL; |
38 } | 38 } |
39 | 39 |
40 void OwnedMailbox::OnLostResources() { | 40 void OwnedMailbox::OnLostResources() { |
41 if (gl_helper_) | 41 if (gl_helper_) |
42 Destroy(); | 42 Destroy(); |
43 } | 43 } |
44 | 44 |
45 } // namespace content | 45 } // namespace content |
OLD | NEW |