Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index d23f9f967155d5914748d97d8b3376813fc85bfa..663e400be81ef8fc02ae96b8ed8353ba60a3717d 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1079,7 +1079,7 @@ bool PepperPluginInstanceImpl::HandleInputEvent( |
event.type == blink::WebInputEvent::MouseDown && |
(event.modifiers & blink::WebInputEvent::LeftButtonDown)) { |
has_been_clicked_ = true; |
- blink::WebRect bounds = container()->element().boundsInViewport(); |
+ blink::WebRect bounds = container()->element().boundsInViewportInt(); |
RecordFlashClickSizeMetric(bounds.width, bounds.height); |
} |