| 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 2dfd47b08225281a6ab73d18b46997186c5ba63e..0baa32e1b2796778b62d20d085e3c136dc8ffc6e 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| @@ -2340,12 +2340,15 @@ PP_Bool PepperPluginInstanceImpl::BindGraphics(PP_Instance instance,
|
| if (compositor) {
|
| if (compositor->BindToInstance(this)) {
|
| bound_compositor_ = compositor;
|
| + bound_compositor_->set_viewport_to_dip_scale(viewport_to_dip_scale_);
|
| UpdateLayer(true);
|
| return PP_TRUE;
|
| }
|
| } else if (graphics_2d) {
|
| if (graphics_2d->BindToInstance(this)) {
|
| bound_graphics_2d_platform_ = graphics_2d;
|
| + bound_graphics_2d_platform_->set_viewport_to_dip_scale(
|
| + viewport_to_dip_scale_);
|
| UpdateLayer(true);
|
| return PP_TRUE;
|
| }
|
|
|