| 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/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "base/threading/thread_local.h" | 34 #include "base/threading/thread_local.h" |
| 35 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
| 36 #include "base/trace_event/memory_dump_manager.h" | 36 #include "base/trace_event/memory_dump_manager.h" |
| 37 #include "base/trace_event/trace_event.h" | 37 #include "base/trace_event/trace_event.h" |
| 38 #include "base/values.h" | 38 #include "base/values.h" |
| 39 #include "build/build_config.h" | 39 #include "build/build_config.h" |
| 40 #include "cc/base/histograms.h" | 40 #include "cc/base/histograms.h" |
| 41 #include "cc/base/switches.h" | 41 #include "cc/base/switches.h" |
| 42 #include "cc/blink/web_external_bitmap_impl.h" | 42 #include "cc/blink/web_external_bitmap_impl.h" |
| 43 #include "cc/blink/web_layer_impl.h" | 43 #include "cc/blink/web_layer_impl.h" |
| 44 #include "cc/layers/layer_settings.h" | |
| 45 #include "cc/raster/task_graph_runner.h" | 44 #include "cc/raster/task_graph_runner.h" |
| 46 #include "cc/trees/layer_tree_host_common.h" | 45 #include "cc/trees/layer_tree_host_common.h" |
| 47 #include "cc/trees/layer_tree_settings.h" | 46 #include "cc/trees/layer_tree_settings.h" |
| 48 #include "components/scheduler/child/compositor_worker_scheduler.h" | 47 #include "components/scheduler/child/compositor_worker_scheduler.h" |
| 49 #include "components/scheduler/child/webthread_base.h" | 48 #include "components/scheduler/child/webthread_base.h" |
| 50 #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h" | 49 #include "components/scheduler/child/webthread_impl_for_worker_scheduler.h" |
| 51 #include "components/scheduler/renderer/renderer_scheduler.h" | 50 #include "components/scheduler/renderer/renderer_scheduler.h" |
| 52 #include "content/child/appcache/appcache_dispatcher.h" | 51 #include "content/child/appcache/appcache_dispatcher.h" |
| 53 #include "content/child/appcache/appcache_frontend_impl.h" | 52 #include "content/child/appcache/appcache_frontend_impl.h" |
| 54 #include "content/child/child_discardable_shared_memory_manager.h" | 53 #include "content/child/child_discardable_shared_memory_manager.h" |
| (...skipping 2121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2176 } | 2175 } |
| 2177 | 2176 |
| 2178 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { | 2177 void RenderThreadImpl::PendingRenderFrameConnect::OnConnectionError() { |
| 2179 size_t erased = | 2178 size_t erased = |
| 2180 RenderThreadImpl::current()->pending_render_frame_connects_.erase( | 2179 RenderThreadImpl::current()->pending_render_frame_connects_.erase( |
| 2181 routing_id_); | 2180 routing_id_); |
| 2182 DCHECK_EQ(1u, erased); | 2181 DCHECK_EQ(1u, erased); |
| 2183 } | 2182 } |
| 2184 | 2183 |
| 2185 } // namespace content | 2184 } // namespace content |
| OLD | NEW |