Index: webkit/plugins/webview_plugin.cc |
diff --git a/webkit/plugins/webview_plugin.cc b/webkit/plugins/webview_plugin.cc |
index 8e3f94242b8a517c9476135756b3674779d2680e..7d3dc7ed0281bc7f6afd452a74b8568e0ed185f7 100644 |
--- a/webkit/plugins/webview_plugin.cc |
+++ b/webkit/plugins/webview_plugin.cc |
@@ -139,7 +139,7 @@ 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 (frame_rect != rect_) { |
+ if (static_cast<gfx::Rect>(frame_rect) != rect_) { |
rect_ = frame_rect; |
web_view_->resize(WebSize(frame_rect.width, frame_rect.height)); |
} |