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 "cc/resources/texture_mailbox_deleter.h" | 5 #include "cc/output/texture_mailbox_deleter.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "cc/output/context_provider.h" | 11 #include "cc/output/context_provider.h" |
12 #include "cc/resources/single_release_callback.h" | 12 #include "cc/resources/single_release_callback.h" |
13 #include "gpu/command_buffer/client/gles2_interface.h" | 13 #include "gpu/command_buffer/client/gles2_interface.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 impl_callbacks_.erase(impl_callbacks_.begin() + i); | 83 impl_callbacks_.erase(impl_callbacks_.begin() + i); |
84 return; | 84 return; |
85 } | 85 } |
86 } | 86 } |
87 | 87 |
88 NOTREACHED() << "The Callback returned by GetDeleteCallback() was called " | 88 NOTREACHED() << "The Callback returned by GetDeleteCallback() was called " |
89 << "more than once."; | 89 << "more than once."; |
90 } | 90 } |
91 | 91 |
92 } // namespace cc | 92 } // namespace cc |
OLD | NEW |