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

Unified Diff: cc/trees/layer_tree_host.h

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/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index c04e8e7fa6a03ad43997a3fd534b605ed6d55ae9..d686fb68fe091c5a623267b39ef4f1b704b78180 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -112,6 +112,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
void WillCommit();
void CommitComplete();
void SetOutputSurface(scoped_ptr<OutputSurface> output_surface);
+ scoped_ptr<OutputSurface> GetOutputSurface();
no sievers 2015/09/10 00:00:22 nit: Can we call it ReleaseOutputSurface()?
sohanjg 2015/09/10 15:07:23 Done.
void RequestNewOutputSurface();
void DidInitializeOutputSurface();
void DidFailToInitializeOutputSurface();

Powered by Google App Engine
This is Rietveld 408576698