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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 1287043002: cc: Setup API to release OutputSurface from LTHClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit test Created 5 years, 4 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/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index bf03378246811e78226c911a557a513f4843223d..7190cccd11eed21fef9a3e52c3d29590e14e2543 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -149,6 +149,10 @@ void SingleThreadProxy::RequestNewOutputSurface() {
layer_tree_host_->RequestNewOutputSurface();
}
+scoped_ptr<OutputSurface> SingleThreadProxy::GetOutputSurface() {
no sievers 2015/09/10 00:00:22 if (scheduler_on_impl_thread_) scheduler_on_impl
sohanjg 2015/09/10 15:07:23 Done.
+ return layer_tree_host_impl_->GetOutputSurface();
+}
+
void SingleThreadProxy::SetOutputSurface(
scoped_ptr<OutputSurface> output_surface) {
DCHECK(Proxy::IsMainThread());

Powered by Google App Engine
This is Rietveld 408576698