Chromium Code Reviews| 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_process_impl.h" | 5 #include "content/renderer/render_process_impl.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 67 SiteIsolationStatsGatherer::SetEnabled( | 67 SiteIsolationStatsGatherer::SetEnabled( |
| 68 GetContentClient()->renderer()->ShouldGatherSiteIsolationStats()); | 68 GetContentClient()->renderer()->ShouldGatherSiteIsolationStats()); |
| 69 } | 69 } |
| 70 | 70 |
| 71 RenderProcessImpl::~RenderProcessImpl() { | 71 RenderProcessImpl::~RenderProcessImpl() { |
| 72 #ifndef NDEBUG | 72 #ifndef NDEBUG |
| 73 int count = blink::WebFrame::instanceCount(); | 73 int count = blink::WebFrame::instanceCount(); |
| 74 if (count) | 74 if (count) |
| 75 DLOG(ERROR) << "WebFrame LEAKED " << count << " TIMES"; | 75 DLOG(ERROR) << "WebFrame LEAKED " << count << " TIMES"; |
| 76 #endif | 76 #endif |
| 77 | |
| 78 GetShutDownEvent()->Signal(); | |
|
reveman
2015/09/11 22:26:13
See similar change in ChildProcess::~ChildProcess.
| |
| 79 } | 77 } |
| 80 | 78 |
| 81 void RenderProcessImpl::AddBindings(int bindings) { | 79 void RenderProcessImpl::AddBindings(int bindings) { |
| 82 enabled_bindings_ |= bindings; | 80 enabled_bindings_ |= bindings; |
| 83 } | 81 } |
| 84 | 82 |
| 85 int RenderProcessImpl::GetEnabledBindings() const { | 83 int RenderProcessImpl::GetEnabledBindings() const { |
| 86 return enabled_bindings_; | 84 return enabled_bindings_; |
| 87 } | 85 } |
| 88 | 86 |
| 89 } // namespace content | 87 } // namespace content |
| OLD | NEW |