| Index: content/renderer/pepper/pepper_video_capture_host.cc
|
| ===================================================================
|
| --- content/renderer/pepper/pepper_video_capture_host.cc (revision 213350)
|
| +++ content/renderer/pepper/pepper_video_capture_host.cc (working copy)
|
| @@ -15,7 +15,7 @@
|
| #include "third_party/WebKit/public/web/WebElement.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"
|
|
|
| using ppapi::HostResource;
|
| using ppapi::TrackedCallback;
|
| @@ -241,8 +241,9 @@
|
| }
|
|
|
| webkit::ppapi::PluginDelegate* PepperVideoCaptureHost::GetPluginDelegate() {
|
| - webkit::ppapi::PluginInstance* instance =
|
| - renderer_ppapi_host_->GetPluginInstance(pp_instance());
|
| + webkit::ppapi::PluginInstanceImpl* instance =
|
| + static_cast<webkit::ppapi::PluginInstanceImpl*>(
|
| + renderer_ppapi_host_->GetPluginInstance(pp_instance()));
|
| if (instance)
|
| return instance->delegate();
|
| return NULL;
|
| @@ -269,7 +270,7 @@
|
|
|
| platform_video_capture_ =
|
| plugin_delegate->CreateVideoCapture(device_id,
|
| - instance->container()->element().document().url(), this);
|
| + instance->GetContainer()->element().document().url(), this);
|
|
|
| open_reply_context_ = context->MakeReplyMessageContext();
|
|
|
|
|