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

Unified Diff: cc/test/test_compositor_frame_sink.h

Issue 2848223003: Enforce constant size and device scale factor for surfaces (Closed)
Patch Set: Address comments Created 3 years, 7 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 | « cc/test/compositor_frame_helpers.cc ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_compositor_frame_sink.h
diff --git a/cc/test/test_compositor_frame_sink.h b/cc/test/test_compositor_frame_sink.h
index b26ee117dea9151b712021b022391655c6ce459c..04401114fa5bf4a2cd82ea65f3802becef7dd186 100644
--- a/cc/test/test_compositor_frame_sink.h
+++ b/cc/test/test_compositor_frame_sink.h
@@ -112,7 +112,9 @@ class TestCompositorFrameSink : public CompositorFrameSink,
// CompositorFrameSink is owned/destroyed on the compositor thread.
std::unique_ptr<SurfaceManager> surface_manager_;
std::unique_ptr<LocalSurfaceIdAllocator> local_surface_id_allocator_;
- LocalSurfaceId delegated_local_surface_id_;
+ LocalSurfaceId local_surface_id_;
+ gfx::Size display_size_;
+ float device_scale_factor_ = 0;
// Uses surface_manager_.
std::unique_ptr<CompositorFrameSinkSupport> support_;
« no previous file with comments | « cc/test/compositor_frame_helpers.cc ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698