| Index: webkit/plugins/ppapi/ppapi_webplugin_impl.cc
|
| diff --git a/webkit/plugins/ppapi/ppapi_webplugin_impl.cc b/webkit/plugins/ppapi/ppapi_webplugin_impl.cc
|
| index 5bdc4ca72c09216b1c9caaad8af6e1a6671fae8c..8adbcf457f101798482676a0c50a29d75ee9bc75 100644
|
| --- a/webkit/plugins/ppapi/ppapi_webplugin_impl.cc
|
| +++ b/webkit/plugins/ppapi/ppapi_webplugin_impl.cc
|
| @@ -96,7 +96,7 @@ NPObject* WebPluginImpl::scriptableObject() {
|
| }
|
|
|
| void WebPluginImpl::paint(WebCanvas* canvas, const WebRect& rect) {
|
| - if (!instance_->IsFullscreen())
|
| + if (!instance_->IsFullscreenOrPending())
|
| instance_->Paint(canvas, plugin_rect_, rect);
|
| }
|
|
|
| @@ -106,7 +106,7 @@ void WebPluginImpl::updateGeometry(
|
| const WebVector<WebRect>& cut_outs_rects,
|
| bool is_visible) {
|
| plugin_rect_ = window_rect;
|
| - if (!instance_->IsFullscreen())
|
| + if (!instance_->IsFullscreenOrPending())
|
| instance_->ViewChanged(plugin_rect_, clip_rect);
|
| }
|
|
|
| @@ -127,7 +127,7 @@ bool WebPluginImpl::acceptsInputEvents() {
|
|
|
| bool WebPluginImpl::handleInputEvent(const WebKit::WebInputEvent& event,
|
| WebKit::WebCursorInfo& cursor_info) {
|
| - if (instance_->IsFullscreen())
|
| + if (instance_->IsFullscreenOrPending())
|
| return false;
|
| return instance_->HandleInputEvent(event, &cursor_info);
|
| }
|
|
|