Chromium Code Reviews| 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 a4e73c5054d07d312a1756f0f54961aa3936cf03..a6a3f15b19c98687cfda0c320bcf0b760060c5a1 100644 |
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
| @@ -1080,7 +1080,7 @@ bool PepperPluginInstanceImpl::HandleInputEvent( |
| event.type == blink::WebInputEvent::MouseDown && |
| (event.modifiers & blink::WebInputEvent::LeftButtonDown)) { |
| has_been_clicked_ = true; |
| - blink::WebRect bounds = container()->element().boundsInViewportSpace(); |
| + blink::WebRect bounds = container()->element().boundsInViewport(); |
| RecordFlashClickSizeMetric(bounds.width, bounds.height); |
|
oshima
2015/11/23 22:14:50
tommycli@, the API used to return pre-page-scaled
|
| } |