summaryrefslogtreecommitdiffstats
path: root/ui/compositor/layer_owner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/compositor/layer_owner.cc')
-rw-r--r--ui/compositor/layer_owner.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/compositor/layer_owner.cc b/ui/compositor/layer_owner.cc
index c918081..f406d88 100644
--- a/ui/compositor/layer_owner.cc
+++ b/ui/compositor/layer_owner.cc
@@ -48,6 +48,7 @@ scoped_ptr<Layer> LayerOwner::RecreateLayer() {
new_layer->SetFillsBoundsOpaquely(old_layer->fills_bounds_opaquely());
new_layer->SetFillsBoundsCompletely(old_layer->FillsBoundsCompletely());
new_layer->SetSubpixelPositionOffset(old_layer->subpixel_position_offset());
+ new_layer->SetLayerInverted(old_layer->layer_inverted());
if (old_layer->type() == LAYER_SOLID_COLOR)
new_layer->SetColor(old_layer->GetTargetColor());
SkRegion* alpha_shape = old_layer->alpha_shape();