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

Unified Diff: webkit/plugins/ppapi/ppb_flash_file_impl.cc

Issue 8342016: Revert 106142 - Add a new globals object for PPAPI tracking information. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 months 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
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_clipboard_impl.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_flash_file_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_flash_file_impl.cc (revision 106147)
+++ webkit/plugins/ppapi/ppb_flash_file_impl.cc (working copy)
@@ -16,7 +16,6 @@
#include "webkit/plugins/ppapi/common.h"
#include "webkit/plugins/ppapi/file_path.h"
#include "webkit/plugins/ppapi/file_type_conversions.h"
-#include "webkit/plugins/ppapi/host_globals.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
#include "webkit/plugins/ppapi/plugin_module.h"
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
@@ -67,8 +66,7 @@
if (!path || !PepperFileOpenFlagsToPlatformFileFlags(mode, &flags) || !file)
return PP_ERROR_BADARGUMENT;
- PluginInstance* instance =
- HostGlobals::Get()->host_resource_tracker()->GetInstance(pp_instance);
+ PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance);
if (!instance)
return PP_ERROR_FAILED;
@@ -87,8 +85,7 @@
if (!from_path || !to_path)
return PP_ERROR_BADARGUMENT;
- PluginInstance* instance =
- HostGlobals::Get()->host_resource_tracker()->GetInstance(pp_instance);
+ PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance);
if (!instance)
return PP_ERROR_FAILED;
@@ -104,8 +101,7 @@
if (!path)
return PP_ERROR_BADARGUMENT;
- PluginInstance* instance =
- HostGlobals::Get()->host_resource_tracker()->GetInstance(pp_instance);
+ PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance);
if (!instance)
return PP_ERROR_FAILED;
@@ -119,8 +115,7 @@
if (!path)
return PP_ERROR_BADARGUMENT;
- PluginInstance* instance =
- HostGlobals::Get()->host_resource_tracker()->GetInstance(pp_instance);
+ PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance);
if (!instance)
return PP_ERROR_FAILED;
@@ -135,8 +130,7 @@
if (!path || !info)
return PP_ERROR_BADARGUMENT;
- PluginInstance* instance =
- HostGlobals::Get()->host_resource_tracker()->GetInstance(pp_instance);
+ PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance);
if (!instance)
return PP_ERROR_FAILED;
@@ -163,8 +157,7 @@
PP_DirContents_Dev** contents) {
if (!path || !contents)
return PP_ERROR_BADARGUMENT;
- PluginInstance* instance =
- HostGlobals::Get()->host_resource_tracker()->GetInstance(pp_instance);
+ PluginInstance* instance = ResourceTracker::Get()->GetInstance(pp_instance);
if (!instance)
return PP_ERROR_FAILED;
Property changes on: webkit/plugins/ppapi/ppb_flash_file_impl.cc
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/src/webkit/plugins/ppapi/ppb_flash_file_impl.cc:r3734-4217,4606-5108,5177-5263
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_clipboard_impl.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698