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

Unified Diff: cc/layers/texture_layer_impl.cc

Issue 1841443003: cc : Use effect tree to determine if a layer is inside copy request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer_impl.cc
diff --git a/cc/layers/texture_layer_impl.cc b/cc/layers/texture_layer_impl.cc
index 12efed0afbeddc3cc7c23ed5d5c138b30f6db3e2..27d3c971f64a8b8b8c39e221f86cbc2ce9a1dca1 100644
--- a/cc/layers/texture_layer_impl.cc
+++ b/cc/layers/texture_layer_impl.cc
@@ -166,7 +166,7 @@ void TextureLayerImpl::AppendQuads(RenderPass* render_pass,
return;
if (!texture_mailbox_.secure_output_only() ||
- (layer_tree_impl()->OutputIsSecure() && !AnchestorHasCopyRequest())) {
+ (layer_tree_impl()->OutputIsSecure() && !InsideCopyRequest())) {
TextureDrawQuad* quad =
render_pass->CreateAndAppendDrawQuad<TextureDrawQuad>();
ResourceId id =
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698