| Index: content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
|
| diff --git a/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc b/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
|
| index af3ec67b22717eaecba02235507d6a57b08a3685..310eb29c0e46dee84340d2e080d8d99a31c92812 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
|
| +++ b/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
|
| @@ -39,12 +39,10 @@ bool LooksLikeAGuid(const std::string& fsid) {
|
| scoped_refptr<fileapi::FileSystemContext>
|
| GetFileSystemContextFromRenderId(int render_process_id) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - RenderProcessHost* render_process_host =
|
| - RenderProcessHost::FromID(render_process_id);
|
| - if (!render_process_host)
|
| + RenderProcessHost* host = RenderProcessHost::FromID(render_process_id);
|
| + if (!host)
|
| return NULL;
|
| - StoragePartition* storage_partition =
|
| - render_process_host->GetStoragePartition();
|
| + StoragePartition* storage_partition = host->GetStoragePartition();
|
| if (!storage_partition)
|
| return NULL;
|
| return storage_partition->GetFileSystemContext();
|
|
|