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

Unified Diff: components/display_compositor/gpu_root_compositor_frame_sink.h

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
Index: components/display_compositor/gpu_root_compositor_frame_sink.h
diff --git a/components/display_compositor/gpu_root_compositor_frame_sink.h b/components/display_compositor/gpu_root_compositor_frame_sink.h
index a978eb79d659a15e8d334e02160366595212d4e2..16337b9a5634ff0d51a107c630d78c610f50926f 100644
--- a/components/display_compositor/gpu_root_compositor_frame_sink.h
+++ b/components/display_compositor/gpu_root_compositor_frame_sink.h
@@ -51,8 +51,8 @@ class DISPLAY_COMPOSITOR_EXPORT GpuRootCompositorFrameSink
void ResizeDisplay(const gfx::Size& size) override;
void SetDisplayColorSpace(const gfx::ColorSpace& color_space) override;
void SetOutputIsSecure(bool secure) override;
- void SetLocalSurfaceId(const cc::LocalSurfaceId& local_surface_id,
- float scale_factor) override;
+ void SetLocalSurfaceId(const cc::LocalSurfaceId& local_surface_id) override;
+ void SetDeviceScaleFactor(float scale_factor) override;
// cc::mojom::MojoCompositorFrameSink:
void EvictFrame() override;
« no previous file with comments | « cc/test/test_compositor_frame_sink.cc ('k') | components/display_compositor/gpu_root_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698