summaryrefslogtreecommitdiffstats
path: root/content/browser/mach_broker_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/mach_broker_mac.cc')
-rw-r--r--content/browser/mach_broker_mac.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/content/browser/mach_broker_mac.cc b/content/browser/mach_broker_mac.cc
index b604f48..09f3e75 100644
--- a/content/browser/mach_broker_mac.cc
+++ b/content/browser/mach_broker_mac.cc
@@ -12,7 +12,7 @@
#include "base/stringprintf.h"
#include "base/sys_string_conversions.h"
#include "base/threading/platform_thread.h"
-#include "content/browser/renderer_host/render_process_host.h"
+#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/common/child_process_info.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
@@ -211,11 +211,12 @@ void MachBroker::Observe(int type,
switch (type) {
case content::NOTIFICATION_RENDERER_PROCESS_CLOSED:
handle =
- content::Details<RenderProcessHost::RendererClosedDetails>(details)->
- handle;
+ content::Details<content::RenderProcessHost::RendererClosedDetails>(
+ details)->handle;
break;
case content::NOTIFICATION_RENDERER_PROCESS_TERMINATED:
- handle = content::Source<RenderProcessHost>(source)->GetHandle();
+ handle = content::Source<content::RenderProcessHost>(source)->
+ GetHandle();
break;
case content::NOTIFICATION_CHILD_PROCESS_CRASHED:
case content::NOTIFICATION_CHILD_PROCESS_HOST_DISCONNECTED: