| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index bcbd7aac30edfa75a4784f95fe5c21ec6ac1d976..b082e0ca273c9baa9b30e93cc2db4ee1ea372d87 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -279,6 +279,7 @@
|
| #endif
|
|
|
| #if defined(ENABLE_WEBRTC)
|
| +#include "chrome/browser/media/webrtc_internal_log_handler_host.h"
|
| #include "chrome/browser/media/webrtc_logging_handler_host.h"
|
| #endif
|
|
|
| @@ -923,8 +924,16 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
|
| host->SetWebRtcLogMessageCallback(base::Bind(
|
| &WebRtcLoggingHandlerHost::LogMessage, webrtc_logging_handler_host));
|
| host->AddFilter(webrtc_logging_handler_host);
|
| - host->SetUserData(host, new base::UserDataAdapter<WebRtcLoggingHandlerHost>(
|
| - webrtc_logging_handler_host));
|
| + host->SetUserData(WebRtcLoggingHandlerHost::kWebRtcLoggingHandlerHostKey,
|
| + new base::UserDataAdapter<WebRtcLoggingHandlerHost>(
|
| + webrtc_logging_handler_host));
|
| +
|
| + WebRtcInternalLogHandlerHost* webrtc_internal_log_handler_host =
|
| + new WebRtcInternalLogHandlerHost(profile);
|
| + host->SetUserData(
|
| + WebRtcInternalLogHandlerHost::kWebRtcInternalLogHandlerHostKey,
|
| + new base::UserDataAdapter<WebRtcInternalLogHandlerHost>(
|
| + webrtc_internal_log_handler_host));
|
| #endif
|
| #if !defined(DISABLE_NACL)
|
| host->AddFilter(new nacl::NaClHostMessageFilter(
|
|
|