Index: cc/surfaces/direct_compositor_frame_sink.cc |
diff --git a/cc/surfaces/direct_compositor_frame_sink.cc b/cc/surfaces/direct_compositor_frame_sink.cc |
index 10c37ee7cc3842ae45d3b48987aead9a936d9612..0bda784934b3f13a8b93d2dd7089494324b89e5e 100644 |
--- a/cc/surfaces/direct_compositor_frame_sink.cc |
+++ b/cc/surfaces/direct_compositor_frame_sink.cc |
@@ -93,8 +93,8 @@ void DirectCompositorFrameSink::SubmitCompositorFrame(CompositorFrame frame) { |
delegated_local_surface_id_ = surface_id_allocator_.GenerateId(); |
last_swap_frame_size_ = frame_size; |
} |
- display_->SetLocalSurfaceId(delegated_local_surface_id_, |
- frame.metadata.device_scale_factor); |
+ display_->SetLocalSurfaceId(delegated_local_surface_id_); |
+ display_->SetDeviceScaleFactor(frame.metadata.device_scale_factor); |
factory_.SubmitCompositorFrame( |
delegated_local_surface_id_, std::move(frame), |