OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer_host/render_widget_helper.h" | 5 #include "content/browser/renderer_host/render_widget_helper.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/eintr_wrapper.h" | |
10 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
| 10 #include "base/posix/eintr_wrapper.h" |
11 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
12 #include "base/threading/thread_restrictions.h" | 12 #include "base/threading/thread_restrictions.h" |
13 #include "content/browser/gpu/gpu_surface_tracker.h" | 13 #include "content/browser/gpu/gpu_surface_tracker.h" |
14 #include "content/browser/renderer_host/render_process_host_impl.h" | 14 #include "content/browser/renderer_host/render_process_host_impl.h" |
15 #include "content/browser/renderer_host/render_view_host_impl.h" | 15 #include "content/browser/renderer_host/render_view_host_impl.h" |
16 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 16 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" |
17 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 17 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
18 #include "content/common/view_messages.h" | 18 #include "content/common/view_messages.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 i = allocated_dibs_.begin(); i != allocated_dibs_.end(); ++i) { | 403 i = allocated_dibs_.begin(); i != allocated_dibs_.end(); ++i) { |
404 if (HANDLE_EINTR(close(i->second)) < 0) | 404 if (HANDLE_EINTR(close(i->second)) < 0) |
405 PLOG(ERROR) << "close: " << i->first; | 405 PLOG(ERROR) << "close: " << i->first; |
406 } | 406 } |
407 | 407 |
408 allocated_dibs_.clear(); | 408 allocated_dibs_.clear(); |
409 } | 409 } |
410 #endif | 410 #endif |
411 | 411 |
412 } // namespace content | 412 } // namespace content |
OLD | NEW |