| Index: content/renderer/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
|
| index ca358b28bb8b18db34929481f102c2a9c64da8ce..c423f689c78f27dd738640836c1e8922d1c3b2fd 100644
|
| --- a/content/renderer/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper_plugin_delegate_impl.cc
|
| @@ -1300,13 +1300,6 @@ int32_t PepperPluginDelegateImpl::ShowContextMenu(
|
| webkit::ppapi::PPB_Flash_Menu_Impl* menu,
|
| const gfx::Point& position) {
|
| int32 render_widget_id = render_view_->routing_id();
|
| - if (instance->IsFullscreen(instance->pp_instance())) {
|
| - webkit::ppapi::FullscreenContainer* container =
|
| - instance->fullscreen_container();
|
| - DCHECK(container);
|
| - render_widget_id =
|
| - static_cast<RenderWidgetFullscreenPepper*>(container)->routing_id();
|
| - }
|
|
|
| int request_id = pending_context_menus_.Add(
|
| new scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>(menu));
|
| @@ -1370,12 +1363,6 @@ void PepperPluginDelegateImpl::OnCustomContextMenuAction(
|
| saved_context_menu_action_ = action;
|
| }
|
|
|
| -webkit::ppapi::FullscreenContainer*
|
| -PepperPluginDelegateImpl::CreateFullscreenContainer(
|
| - webkit::ppapi::PluginInstance* instance) {
|
| - return render_view_->CreatePepperFullscreenContainer(instance);
|
| -}
|
| -
|
| gfx::Size PepperPluginDelegateImpl::GetScreenSize() {
|
| WebKit::WebScreenInfo info = render_view_->screenInfo();
|
| return gfx::Size(info.rect.width, info.rect.height);
|
|
|