| Index: components/plugins/renderer/webview_plugin.cc
|
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
|
| index 062e6e102b1bc5586d5a51a2206315700308c6ca..04d74071c732abc4cbfb0e8f030928d0427df698 100644
|
| --- a/components/plugins/renderer/webview_plugin.cc
|
| +++ b/components/plugins/renderer/webview_plugin.cc
|
| @@ -157,13 +157,14 @@ void WebViewPlugin::paint(WebCanvas* canvas, const WebRect& rect) {
|
| }
|
|
|
| // Coordinates are relative to the containing window.
|
| -void WebViewPlugin::updateGeometry(const WebRect& frame_rect,
|
| +void WebViewPlugin::updateGeometry(const WebRect& window_rect,
|
| const WebRect& clip_rect,
|
| - const WebVector<WebRect>& cut_out_rects,
|
| + const WebRect& unobscured_rect,
|
| + const WebVector<WebRect>& cut_outs_rects,
|
| bool is_visible) {
|
| - if (static_cast<gfx::Rect>(frame_rect) != rect_) {
|
| - rect_ = frame_rect;
|
| - WebSize newSize(frame_rect.width, frame_rect.height);
|
| + if (static_cast<gfx::Rect>(window_rect) != rect_) {
|
| + rect_ = window_rect;
|
| + WebSize newSize(window_rect.width, window_rect.height);
|
| web_view_->resize(newSize);
|
| }
|
| }
|
|
|