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

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

Issue 2377533002: cc: Remove Display::SetExternalViewport. (Closed)
Patch Set: webview-expand-sw: . Created 4 years, 3 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 74ad9281b8eff116962cdb87ec4fcac59d0f36d9..0ff6562613ca71993ff951de1e8b3cc806988eb5 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.h
+++ b/content/renderer/android/synchronous_compositor_frame_sink.h
@@ -155,9 +155,11 @@ class SynchronousCompositorFrameSink
// Uses surface_manager_.
std::unique_ptr<cc::Display> display_;
// Owned by |display_|.
- SoftwareOutputSurface* software_compositor_frame_sink_ = nullptr;
+ SoftwareOutputSurface* software_output_surface_ = nullptr;
std::unique_ptr<cc::BeginFrameSource> begin_frame_source_;
+ gfx::Size sw_display_size_for_current_draw_;
+
base::ThreadChecker thread_checker_;
DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFrameSink);

Powered by Google App Engine
This is Rietveld 408576698