Index: content/renderer/pepper/pepper_file_io_host.cc |
=================================================================== |
--- content/renderer/pepper/pepper_file_io_host.cc (revision 213462) |
+++ content/renderer/pepper/pepper_file_io_host.cc (working copy) |
@@ -20,7 +20,7 @@ |
#include "ppapi/thunk/enter.h" |
#include "third_party/WebKit/public/web/WebPluginContainer.h" |
#include "webkit/plugins/ppapi/host_globals.h" |
-#include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
+#include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h" |
#include "webkit/plugins/ppapi/ppb_file_ref_impl.h" |
#include "webkit/plugins/ppapi/quota_file_io.h" |
@@ -58,6 +58,7 @@ |
PP_Instance instance, |
PP_Resource resource) |
: ResourceHost(host->GetPpapiHost(), instance, resource), |
+ plugin_delegate_(NULL), |
file_(base::kInvalidPlatformFileValue), |
file_system_type_(PP_FILESYSTEMTYPE_INVALID), |
quota_policy_(quota::kQuotaLimitTypeUnknown), |
@@ -65,7 +66,7 @@ |
open_flags_(0), |
weak_factory_(this) { |
// TODO(victorhsieh): eliminate plugin_delegate_ as it's no longer needed. |
- webkit::ppapi::PluginInstance* plugin_instance = |
+ webkit::ppapi::PluginInstanceImpl* plugin_instance = |
webkit::ppapi::HostGlobals::Get()->GetInstance(instance); |
plugin_delegate_ = plugin_instance ? plugin_instance->delegate() : NULL; |
} |