| Index: content/renderer/pepper_plugin_delegate_impl.cc
|
| ===================================================================
|
| --- content/renderer/pepper_plugin_delegate_impl.cc (revision 99979)
|
| +++ content/renderer/pepper_plugin_delegate_impl.cc (working copy)
|
| @@ -1299,7 +1299,7 @@
|
| 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())) {
|
| + if (instance->IsFullscreen_Dev(instance->pp_instance())) {
|
| webkit::ppapi::FullscreenContainer* container =
|
| instance->fullscreen_container();
|
| DCHECK(container);
|
| @@ -1319,7 +1319,8 @@
|
| params.custom_items = menu->menu_data();
|
|
|
| // Transform the position to be in render view's coordinates.
|
| - if (instance->IsFullscreen(instance->pp_instance())) {
|
| + if (instance->IsFullscreen(instance->pp_instance()) ||
|
| + instance->IsFullscreen_Dev(instance->pp_instance())) {
|
| WebKit::WebRect rect = render_view_->windowRect();
|
| params.x -= rect.x;
|
| params.y -= rect.y;
|
|
|