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

Unified Diff: ui/compositor/layer.h

Issue 547283003: [Ash] Copy alpha_shape when recreating layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 3 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 | « no previous file | ui/compositor/layer_owner.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 0ff6a9611eab1390323d12dd2ec658168a4c7a9f..254cce7be9109e1995ca7ec5a44405c8095420a2 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -203,6 +203,7 @@ class COMPOSITOR_EXPORT Layer
void SetBackgroundZoom(float zoom, int inset);
// Set the shape of this layer.
+ SkRegion* alpha_shape() const { return alpha_shape_.get(); }
void SetAlphaShape(scoped_ptr<SkRegion> region);
// Invert the layer.
« no previous file with comments | « no previous file | ui/compositor/layer_owner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698