| Index: webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
|
| diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
|
| index 869ea9f5aef5b974cdb5bd92c356eda4acd31616..b83f8f5909af06d886e5a6e4653be7c9b41d992d 100644
|
| --- a/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
|
| +++ b/webkit/plugins/npapi/webplugin_delegate_impl_gtk.cc
|
| @@ -355,8 +355,7 @@ void WebPluginDelegateImpl::WindowlessPaint(cairo_t* context,
|
| // "real" means as seen by Chrome
|
| // "apparent" means as seen by the plugin.
|
|
|
| - gfx::Rect draw_rect = window_rect_;
|
| - draw_rect.Intersect(damage_rect);
|
| + gfx::Rect draw_rect = gfx::Intersection(window_rect_, damage_rect);
|
|
|
| // clip_rect_ is relative to the plugin
|
| gfx::Rect clip_rect_window = clip_rect_;
|
|
|