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

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

Issue 2299003002: Remove uses of external begin frame sources (Closed)
Patch Set: Fix test crashes 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_output_surface.h
diff --git a/content/renderer/android/synchronous_compositor_output_surface.h b/content/renderer/android/synchronous_compositor_output_surface.h
index de8f1f0f56f99ee80b9f8851b3f4f2a18c3f667a..3009544932981fb86b04e653c7a31dd7c9d43752 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.h
+++ b/content/renderer/android/synchronous_compositor_output_surface.h
@@ -71,6 +71,7 @@ class SynchronousCompositorOutputSurface
scoped_refptr<cc::ContextProvider> worker_context_provider,
int routing_id,
uint32_t output_surface_id,
+ std::unique_ptr<cc::BeginFrameSource> begin_frame_source,
SynchronousCompositorRegistry* registry,
scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue);
~SynchronousCompositorOutputSurface() override;
@@ -161,6 +162,7 @@ class SynchronousCompositorOutputSurface
std::unique_ptr<cc::Display> display_;
// Owned by |display_|.
SoftwareOutputSurface* software_output_surface_ = nullptr;
+ std::unique_ptr<cc::BeginFrameSource> begin_frame_source_;
base::ThreadChecker thread_checker_;

Powered by Google App Engine
This is Rietveld 408576698