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

Unified Diff: cc/layers/layer_impl.cc

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/layers/nine_patch_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index a12963f2ac14849b375456a8497a7ee60e72182d..75d9c26f4bc64908036d0d11a6dc402f1b3917c5 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -257,17 +257,6 @@ void LayerImpl::TakeCopyRequestsAndTransformToTarget(
layer_tree_impl()->set_needs_update_draw_properties();
}
-bool LayerImpl::InsideCopyRequest() const {
- EffectTree& effect_tree = layer_tree_impl()->property_trees()->effect_tree;
- EffectNode* node = effect_tree.Node(effect_tree_index_);
-
- for (; node; node = effect_tree.parent(node)) {
- if (node->data.has_copy_request)
- return true;
- }
- return false;
-}
-
void LayerImpl::ClearRenderSurfaceLayerList() {
if (render_surface_)
render_surface_->ClearLayerLists();
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/layers/nine_patch_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698