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

Unified Diff: cc/surfaces/direct_compositor_frame_sink.cc

Issue 2868473002: Implement aura::Window::CreateCompositorFrameSink() (Closed)
Patch Set: Address review issues 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: cc/surfaces/direct_compositor_frame_sink.cc
diff --git a/cc/surfaces/direct_compositor_frame_sink.cc b/cc/surfaces/direct_compositor_frame_sink.cc
index 505d38ad0914acc436e7641685d1489688b9f16d..8b5b8d906d25e17132e56e9bf24b709bdbdf0741 100644
--- a/cc/surfaces/direct_compositor_frame_sink.cc
+++ b/cc/surfaces/direct_compositor_frame_sink.cc
@@ -110,6 +110,10 @@ void DirectCompositorFrameSink::SubmitCompositorFrame(CompositorFrame frame) {
std::move(frame));
}
+void DirectCompositorFrameSink::EvictFrame() {
+ support_->EvictFrame();
+}
+
void DirectCompositorFrameSink::DisplayOutputSurfaceLost() {
is_lost_ = true;
client_->DidLoseCompositorFrameSink();

Powered by Google App Engine
This is Rietveld 408576698