| Index: trunk/src/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
|
| ===================================================================
|
| --- trunk/src/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc (revision 233010)
|
| +++ trunk/src/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc (working copy)
|
| @@ -26,10 +26,12 @@
|
| scoped_refptr<fileapi::FileSystemContext>
|
| GetFileSystemContextFromRenderId(int render_process_id) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - RenderProcessHost* host = RenderProcessHost::FromID(render_process_id);
|
| - if (!host)
|
| + RenderProcessHost* render_process_host =
|
| + RenderProcessHost::FromID(render_process_id);
|
| + if (!render_process_host)
|
| return NULL;
|
| - StoragePartition* storage_partition = host->GetStoragePartition();
|
| + StoragePartition* storage_partition =
|
| + render_process_host->GetStoragePartition();
|
| if (!storage_partition)
|
| return NULL;
|
| return storage_partition->GetFileSystemContext();
|
|
|