Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / ui / compositor / layer_owner.cc
index 6a22e9a..fc46d9f 100644 (file)
@@ -45,6 +45,7 @@ scoped_ptr<Layer> LayerOwner::RecreateLayer() {
   new_layer->set_name(old_layer->name());
   new_layer->SetFillsBoundsOpaquely(old_layer->fills_bounds_opaquely());
   new_layer->SetFillsBoundsCompletely(old_layer->FillsBoundsCompletely());
+  new_layer->SetSubpixelPositionOffset(old_layer->subpixel_position_offset());
 
   // Install new layer as a sibling of the old layer, stacked below it.
   if (old_layer->parent()) {