| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 0b314c73cf6bb08758ec2f00f661b39bc776bc3f..07c3a59101872ae2b4de4f560f127e0b890988d6 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -70,7 +70,7 @@
|
| #include "content/browser/message_port_message_filter.h"
|
| #include "content/browser/mime_registry_message_filter.h"
|
| #include "content/browser/mojo/mojo_application_host.h"
|
| -#include "content/browser/notification_message_filter.h"
|
| +#include "content/browser/notifications/notification_message_filter.h"
|
| #include "content/browser/profiler_message_filter.h"
|
| #include "content/browser/push_messaging_message_filter.h"
|
| #include "content/browser/quota_dispatcher_host.h"
|
| @@ -849,9 +849,13 @@ void RenderProcessHostImpl::CreateMessageFilters() {
|
| GetID(),
|
| storage_partition_impl_->GetQuotaManager(),
|
| GetContentClient()->browser()->CreateQuotaPermissionContext()));
|
| - AddFilter(new NotificationMessageFilter(
|
| +
|
| + notification_message_filter_ = new NotificationMessageFilter(
|
| GetID(),
|
| - resource_context));
|
| + resource_context,
|
| + browser_context);
|
| + AddFilter(notification_message_filter_.get());
|
| +
|
| AddFilter(new GamepadBrowserMessageFilter());
|
| AddFilter(new DeviceLightMessageFilter());
|
| AddFilter(new DeviceMotionMessageFilter());
|
|
|