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

Unified Diff: ui/aura/local/compositor_frame_sink_local.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 | « ui/android/delegated_frame_host_android.cc ('k') | ui/aura/local/compositor_frame_sink_local.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/local/compositor_frame_sink_local.h
diff --git a/ui/aura/local/compositor_frame_sink_local.h b/ui/aura/local/compositor_frame_sink_local.h
index 0be946a4cc14cfe68f5df817222ff06d571bc092..77e3c29a62bdc65f80487602dad78769852ea183 100644
--- a/ui/aura/local/compositor_frame_sink_local.h
+++ b/ui/aura/local/compositor_frame_sink_local.h
@@ -60,7 +60,8 @@ class CompositorFrameSinkLocal : public cc::CompositorFrameSink,
const cc::FrameSinkId frame_sink_id_;
cc::SurfaceManager* const surface_manager_;
std::unique_ptr<cc::CompositorFrameSinkSupport> support_;
- gfx::Size last_submitted_frame_size_;
+ gfx::Size surface_size_;
+ float device_scale_factor_ = 0;
cc::LocalSurfaceIdAllocator id_allocator_;
cc::LocalSurfaceId local_surface_id_;
std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_;
« no previous file with comments | « ui/android/delegated_frame_host_android.cc ('k') | ui/aura/local/compositor_frame_sink_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698