| Index: content/renderer/pepper/pepper_url_loader_host.cc
|
| ===================================================================
|
| --- content/renderer/pepper/pepper_url_loader_host.cc (revision 213350)
|
| +++ content/renderer/pepper/pepper_url_loader_host.cc (working copy)
|
| @@ -24,7 +24,7 @@
|
| #include "third_party/WebKit/public/web/WebPluginContainer.h"
|
| #include "third_party/WebKit/public/web/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/public/web/WebURLLoaderOptions.h"
|
| -#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
|
| +#include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h"
|
| #include "webkit/plugins/ppapi/url_request_info_util.h"
|
|
|
| using WebKit::WebFrame;
|
| @@ -83,8 +83,9 @@
|
| // will get queued inside WebKit.
|
| if (main_document_loader_) {
|
| // The PluginInstance has a non-owning pointer to us.
|
| - webkit::ppapi::PluginInstance* instance_object =
|
| - renderer_ppapi_host_->GetPluginInstance(pp_instance());
|
| + webkit::ppapi::PluginInstanceImpl* instance_object =
|
| + static_cast<webkit::ppapi::PluginInstanceImpl*>(
|
| + renderer_ppapi_host_->GetPluginInstance(pp_instance()));
|
| if (instance_object) {
|
| DCHECK(instance_object->document_loader() == this);
|
| instance_object->set_document_loader(NULL);
|
| @@ -335,7 +336,7 @@
|
| renderer_ppapi_host_->GetPluginInstance(pp_instance());
|
| if (!instance_object)
|
| return NULL;
|
| - return instance_object->container()->element().document().frame();
|
| + return instance_object->GetContainer()->element().document().frame();
|
| }
|
|
|
| void PepperURLLoaderHost::SetDefersLoading(bool defers_loading) {
|
|
|