| Index: components/display_compositor/gpu_root_compositor_frame_sink.cc
|
| diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.cc b/components/display_compositor/gpu_root_compositor_frame_sink.cc
|
| index 4254c6b9f0a70601efc1e8a4e1de0f6020eac00b..28479f0fd81aa4ab6e0f6c4ea02d5a86d84c0fc4 100644
|
| --- a/components/display_compositor/gpu_root_compositor_frame_sink.cc
|
| +++ b/components/display_compositor/gpu_root_compositor_frame_sink.cc
|
| @@ -70,9 +70,13 @@ void GpuRootCompositorFrameSink::SetOutputIsSecure(bool secure) {
|
| }
|
|
|
| void GpuRootCompositorFrameSink::SetLocalSurfaceId(
|
| - const cc::LocalSurfaceId& local_surface_id,
|
| + const cc::LocalSurfaceId& local_surface_id) {
|
| + display_->SetLocalSurfaceId(local_surface_id);
|
| +}
|
| +
|
| +void GpuRootCompositorFrameSink::SetDeviceScaleFactor(
|
| float scale_factor) {
|
| - display_->SetLocalSurfaceId(local_surface_id, scale_factor);
|
| + display_->SetDeviceScaleFactor(scale_factor);
|
| }
|
|
|
| void GpuRootCompositorFrameSink::EvictFrame() {
|
|
|