| Index: content/browser/renderer_host/render_message_filter.cc
|
| diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc
|
| index f06c33cc9413c9c8c906798220862c07d69a8fcf..4c1d0b51863d01e6e57d8ee21b9d305cf9de9866 100644
|
| --- a/content/browser/renderer_host/render_message_filter.cc
|
| +++ b/content/browser/renderer_host/render_message_filter.cc
|
| @@ -14,7 +14,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/download/download_types.h"
|
| #include "chrome/browser/download/download_util.h"
|
| -#include "chrome/browser/profiles/profile.h"
|
| +#include "content/browser/browser_context.h"
|
| #include "content/browser/browser_thread.h"
|
| #include "content/browser/child_process_security_policy.h"
|
| #include "content/browser/content_browser_client.h"
|
| @@ -268,18 +268,18 @@ class DoomEntriesHelper {
|
| RenderMessageFilter::RenderMessageFilter(
|
| int render_process_id,
|
| PluginService* plugin_service,
|
| - Profile* profile,
|
| + content::BrowserContext* context,
|
| net::URLRequestContextGetter* request_context,
|
| RenderWidgetHelper* render_widget_helper)
|
| : resource_dispatcher_host_(
|
| content::GetContentClient()->browser()->GetResourceDispatcherHost()),
|
| plugin_service_(plugin_service),
|
| - profile_(profile),
|
| + context_(context),
|
| request_context_(request_context),
|
| - resource_context_(profile->GetResourceContext()),
|
| + resource_context_(context->GetResourceContext()),
|
| render_widget_helper_(render_widget_helper),
|
| - incognito_(profile->IsOffTheRecord()),
|
| - webkit_context_(profile->GetWebKitContext()),
|
| + incognito_(context->IsOffTheRecord()),
|
| + webkit_context_(context->GetWebKitContext()),
|
| render_process_id_(render_process_id) {
|
| DCHECK(request_context_);
|
|
|
|
|