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 8a9d98553abea982d104307b179400b6c3c3990e..b4690b0d97ee85c7352984782cdb0a4e6347d7fd 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1523,7 +1523,7 @@ void PepperPluginInstanceImpl::UpdateLayerTransform() { |
// plugin to be rendered, then flickering behavior occurs as in |
// crbug.com/353453. |
gfx::SizeF graphics_2d_size_in_dip = |
- gfx::ScaleSize(bound_graphics_2d_platform_->Size(), |
+ gfx::ScaleSize(gfx::SizeF(bound_graphics_2d_platform_->Size()), |
bound_graphics_2d_platform_->GetScale()); |
gfx::Size plugin_size_in_dip(view_data_.rect.size.width, |
view_data_.rect.size.height); |