Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: trunk/src/content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc

Issue 60323002: Revert 232547 "Pepper: Move FileIO host from renderer to browser." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698