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

Unified Diff: ui/compositor/layer.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Sync with ToT Created 3 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
« no previous file with comments | « ui/compositor/compositor_unittest.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index b84e2fca50788973a3d37b978640298791745176..3aa042769336bc233b716191717019f3478c4c01 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -424,6 +424,11 @@ class COMPOSITOR_EXPORT Layer
// surface even if layer is invisible is not a problem.
void SetCacheRenderSurface(bool cache_render_surface);
+ // The back link from the mask layer to it's associated masked layer.
+ // We keep this reference for the case that if the mask layer gets deleted
+ // while attached to the main layer before the main layer is deleted.
+ const Layer* layer_mask_back_link() const { return layer_mask_back_link_; }
+
private:
friend class LayerOwner;
class LayerMirror;
« no previous file with comments | « ui/compositor/compositor_unittest.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698