Index: cc/surfaces/compositor_frame_sink_support.cc |
diff --git a/cc/surfaces/compositor_frame_sink_support.cc b/cc/surfaces/compositor_frame_sink_support.cc |
index 95222ed1defc2354e69faf20ac12300a4b439b61..763633685d58b5a1212bb8d75bd636d0167eb098 100644 |
--- a/cc/surfaces/compositor_frame_sink_support.cc |
+++ b/cc/surfaces/compositor_frame_sink_support.cc |
@@ -67,8 +67,8 @@ void CompositorFrameSinkSupport::SubmitCompositorFrame( |
base::Bind(&CompositorFrameSinkSupport::DidReceiveCompositorFrameAck, |
weak_factory_.GetWeakPtr())); |
if (display_) { |
- display_->SetLocalSurfaceId(local_surface_id, |
- frame.metadata.device_scale_factor); |
+ display_->SetLocalSurfaceId(local_surface_id); |
+ display_->SetDeviceScaleFactor(frame.metadata.device_scale_factor); |
} |
} |