Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index ff58bfb0b1696d69380ce609cb5560c30870af31..a957490d4f698e7826f33cab54e6111e851ed717 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -351,6 +351,10 @@ void Layer::SetBackgroundZoom(float zoom, int inset) { |
SetLayerBackgroundFilters(); |
} |
+SkRegion* Layer::alpha_shape() const { |
+ return alpha_shape_.get(); |
danakj
2014/09/09 14:58:58
move this to the .h
jackhou1
2014/09/10 00:51:54
Done.
|
+} |
+ |
void Layer::SetAlphaShape(scoped_ptr<SkRegion> region) { |
alpha_shape_ = region.Pass(); |