Index: chrome/browser/ui/webui/media/media_internals_proxy.cc |
=================================================================== |
--- chrome/browser/ui/webui/media/media_internals_proxy.cc (revision 110303) |
+++ chrome/browser/ui/webui/media/media_internals_proxy.cc (working copy) |
@@ -10,8 +10,8 @@ |
#include "chrome/browser/media/media_internals.h" |
#include "chrome/browser/ui/webui/media/media_internals_handler.h" |
#include "content/public/browser/notification_service.h" |
-#include "content/browser/renderer_host/render_process_host.h" |
#include "content/public/browser/notification_types.h" |
+#include "content/public/browser/render_process_host.h" |
using content::BrowserThread; |
@@ -39,7 +39,7 @@ |
DCHECK_EQ(type, content::NOTIFICATION_RENDERER_PROCESS_TERMINATED); |
RenderProcessHost* process = content::Source<RenderProcessHost>(source).ptr(); |
CallJavaScriptFunctionOnUIThread("media.onRendererTerminated", |
- base::Value::CreateIntegerValue(process->id())); |
+ base::Value::CreateIntegerValue(process->GetID())); |
} |
void MediaInternalsProxy::Attach(MediaInternalsMessageHandler* handler) { |