| Index: webkit/plugins/webview_plugin.cc
|
| diff --git a/webkit/plugins/webview_plugin.cc b/webkit/plugins/webview_plugin.cc
|
| index 9888b737ebf8a4962171a81027a44f196b6b395d..a617c4bfd571eda120dc288ec9c36796b3a4179b 100644
|
| --- a/webkit/plugins/webview_plugin.cc
|
| +++ b/webkit/plugins/webview_plugin.cc
|
| @@ -120,8 +120,7 @@ bool WebViewPlugin::getFormValue(WebString& value) {
|
| }
|
|
|
| void WebViewPlugin::paint(WebCanvas* canvas, const WebRect& rect) {
|
| - gfx::Rect paintRect = rect_;
|
| - paintRect.Intersect(rect);
|
| + gfx::Rect paintRect = gfx::Intersection(rect_, rect);
|
| if (paintRect.IsEmpty())
|
| return;
|
|
|
|
|