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

Unified Diff: content/renderer/android/synchronous_compositor_frame_sink.h

Issue 2848223003: Enforce constant size and device scale factor for surfaces (Closed)
Patch Set: Fixed Android 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
Index: content/renderer/android/synchronous_compositor_frame_sink.h
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.h b/content/renderer/android/synchronous_compositor_frame_sink.h
index 579fc717bf384dd926e67154671733fc7ecf788f..210f4d2d6d06bd46fd61b37fc1bde5e7012b1d1f 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.h
+++ b/content/renderer/android/synchronous_compositor_frame_sink.h
@@ -155,6 +155,9 @@ class SynchronousCompositorFrameSink
std::unique_ptr<cc::LocalSurfaceIdAllocator> local_surface_id_allocator_;
cc::LocalSurfaceId child_local_surface_id_;
cc::LocalSurfaceId root_local_surface_id_;
+ gfx::Size child_size_;
+ gfx::Size display_size_;
+ float device_scale_factor_;
// Uses surface_manager_.
std::unique_ptr<cc::CompositorFrameSinkSupport> root_support_;
// Uses surface_manager_.

Powered by Google App Engine
This is Rietveld 408576698