Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 4d72eb246854c54d69d5c89b806c73be7d989a0b..c09550fb7999d1f0166cd9f1b10a6ad609acdda7 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -397,6 +397,11 @@ void LayerTreeHost::SetOutputSurface(scoped_ptr<OutputSurface> surface) { |
proxy_->SetOutputSurface(surface.Pass()); |
} |
+scoped_ptr<OutputSurface> LayerTreeHost::GetOutputSurface() { |
no sievers
2015/09/10 00:00:22
DCHECK(!visible_);
Otherwise it seems like you co
sohanjg
2015/09/10 15:07:23
sorry, i didnt get this part, you mean before aski
no sievers
2015/09/10 17:27:45
Yes, I think it makes sense to properly clean up r
sohanjg
2015/09/11 07:00:49
Acknowledged.
|
+ output_surface_lost_ = true; |
+ return proxy_->GetOutputSurface(); |
+} |
+ |
void LayerTreeHost::RequestNewOutputSurface() { |
client_->RequestNewOutputSurface(); |
} |