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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 2349743004: cc: Remove things from OutputSurface and CompositorFrameSink. (Closed)
Patch Set: delete-stuff-cfs: comment-and-rebase 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/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index e6fe5fce541b038f851a55d9804d80cebac61008..6f5d6bee08f22a34b1e9d3337a8d63c4b8573130 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -212,14 +212,13 @@ void ExternalBeginFrameSource::OnVSync(base::TimeTicks frame_time,
obs->OnBeginFrame(last_begin_frame_args_);
}
-// Used to override capabilities_.adjust_deadline_for_parent to false
class AndroidOutputSurface : public cc::OutputSurface {
public:
AndroidOutputSurface(
scoped_refptr<ContextProviderCommandBuffer> context_provider,
const base::Callback<void(gpu::Capabilities)>&
populate_gpu_capabilities_callback)
- : cc::OutputSurface(std::move(context_provider), nullptr, nullptr),
+ : cc::OutputSurface(std::move(context_provider)),
populate_gpu_capabilities_callback_(populate_gpu_capabilities_callback),
swap_buffers_completion_callback_(
base::Bind(&AndroidOutputSurface::OnSwapBuffersCompleted,
@@ -227,7 +226,6 @@ class AndroidOutputSurface : public cc::OutputSurface {
overlay_candidate_validator_(
new display_compositor::
CompositorOverlayCandidateValidatorAndroid()) {
- capabilities_.adjust_deadline_for_parent = false;
capabilities_.max_frames_pending = kMaxDisplaySwapBuffers;
}

Powered by Google App Engine
This is Rietveld 408576698