| Index: chrome/browser/profiles/profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
| index 31a9e1aba971abb34018b75e15a06a566e786500..6c86058ce668c0d9533b6dfb62ca2947064f8735 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -41,6 +41,7 @@
|
| #include "content/browser/browser_thread.h"
|
| #include "content/browser/chrome_blob_storage_context.h"
|
| #include "content/browser/host_zoom_map.h"
|
| +#include "content/browser/renderer_host/media/media_stream_manager.h"
|
| #include "content/browser/renderer_host/resource_dispatcher_host.h"
|
| #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
|
| #include "content/browser/resource_context.h"
|
| @@ -461,6 +462,8 @@ void ProfileIOData::LazyInitialize() const {
|
| job_factory_->AddInterceptor(new chromeos::GViewRequestInterceptor);
|
| #endif // defined(OS_CHROMEOS)
|
|
|
| + media_stream_manager_ = new media_stream::MediaStreamManager();
|
| +
|
| // Take ownership over these parameters.
|
| database_tracker_ = profile_params_->database_tracker;
|
| appcache_service_ = profile_params_->appcache_service;
|
| @@ -485,6 +488,7 @@ void ProfileIOData::LazyInitialize() const {
|
| resource_context_.SetUserData(NULL, const_cast<ProfileIOData*>(this));
|
| resource_context_.set_media_observer(
|
| io_thread_globals->media.media_internals.get());
|
| + resource_context_.set_media_stream_manager(media_stream_manager_.get());
|
|
|
| LazyInitializeInternal(profile_params_.get());
|
|
|
|
|