Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1448)

Unified Diff: cc/surfaces/compositor_frame_sink_support.cc

Issue 2669183002: Seems incorrect to se device_scale_factor in SetLocalSurfaceId.
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/surfaces/direct_compositor_frame_sink.cc » ('j') | cc/surfaces/display.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | cc/surfaces/direct_compositor_frame_sink.cc » ('j') | cc/surfaces/display.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698