| Index: webkit/plugins/webview_plugin.cc
|
| diff --git a/webkit/plugins/webview_plugin.cc b/webkit/plugins/webview_plugin.cc
|
| index 6b80008c697664bbbc8f604e1130c78cdade87b1..dc962e972832d54813f82c0d493edf72e8ff44f2 100644
|
| --- a/webkit/plugins/webview_plugin.cc
|
| +++ b/webkit/plugins/webview_plugin.cc
|
| @@ -140,8 +140,10 @@ void WebViewPlugin::paint(WebCanvas* canvas, const WebRect& rect) {
|
| void WebViewPlugin::updateGeometry(
|
| const WebRect& frame_rect, const WebRect& clip_rect,
|
| const WebVector<WebRect>& cut_out_rects, bool is_visible) {
|
| - if (static_cast<gfx::Rect>(frame_rect) != rect_)
|
| + if (static_cast<gfx::Rect>(frame_rect) != rect_) {
|
| rect_ = frame_rect;
|
| + web_view_->resize(WebSize(frame_rect.width, frame_rect.height));
|
| + }
|
| }
|
|
|
| bool WebViewPlugin::acceptsInputEvents() {
|
|
|