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

Unified Diff: services/ui/ws/frame_generator.cc

Issue 2669183002: Seems incorrect to se device_scale_factor in SetLocalSurfaceId.
Patch Set: Seems incorrect to set device_scale_factor in SetLocalSurfaceId. Added new function SetDeviceScaleF… Created 3 years, 10 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 | « content/renderer/android/synchronous_compositor_frame_sink.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index a62aa6efb898cb7c073d7571e08ae37304aa4c9e..4278dd077e7eda86118ada793a78e64fe8d4a0b9 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -82,7 +82,8 @@ void FrameGenerator::OnBeginFrame(const cc::BeginFrameArgs& begin_frame_arags) {
display_private_->ResizeDisplay(frame_size);
}
- display_private_->SetLocalSurfaceId(local_surface_id_, device_scale_factor_);
+ display_private_->SetLocalSurfaceId(local_surface_id_);
+ display_private_->SetDeviceScaleFactor(device_scale_factor_);
compositor_frame_sink_->SubmitCompositorFrame(local_surface_id_,
std::move(frame));
compositor_frame_sink_->SetNeedsBeginFrame(false);
« no previous file with comments | « content/renderer/android/synchronous_compositor_frame_sink.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698