| Index: content/browser/renderer_host/pepper_file_message_filter.cc
|
| diff --git a/content/browser/renderer_host/pepper_file_message_filter.cc b/content/browser/renderer_host/pepper_file_message_filter.cc
|
| index 1d2660d175488a3357bc9ef8e4176bf44201e46f..9bb3cb6ea168c15deef33cc22dac35b25e6a2d72 100644
|
| --- a/content/browser/renderer_host/pepper_file_message_filter.cc
|
| +++ b/content/browser/renderer_host/pepper_file_message_filter.cc
|
| @@ -9,7 +9,7 @@
|
| #include "base/file_util.h"
|
| #include "base/platform_file.h"
|
| #include "base/process_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/renderer_host/browser_render_process_host.h"
|
| @@ -35,10 +35,9 @@ const int kWritePermissions = base::PLATFORM_FILE_OPEN |
|
| base::PLATFORM_FILE_EXCLUSIVE_WRITE |
|
| base::PLATFORM_FILE_WRITE_ATTRIBUTES;
|
|
|
| -PepperFileMessageFilter::PepperFileMessageFilter(int child_id,
|
| - Profile* profile)
|
| - : child_id_(child_id) {
|
| - pepper_path_ = profile->GetPath().Append(FILE_PATH_LITERAL("Pepper Data"));
|
| +PepperFileMessageFilter::PepperFileMessageFilter(
|
| + int child_id, content::BrowserContext* context) : child_id_(child_id) {
|
| + pepper_path_ = context->GetPath().Append(FILE_PATH_LITERAL("Pepper Data"));
|
| }
|
|
|
| PepperFileMessageFilter::~PepperFileMessageFilter() {
|
|
|