| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index a29bf600bcb9f980b5b5a8f5e85f333f3bafb1c2..ad04a6441759dfa7c3461e19a3b9967d16528cc3 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -665,7 +665,8 @@ void Layer::SetShowSurface(
|
|
|
| scoped_refptr<cc::SurfaceLayer> new_layer =
|
| cc::SurfaceLayer::Create(satisfy_callback, require_callback);
|
| - new_layer->SetSurfaceId(surface_id, scale, surface_size_in_pixels);
|
| + new_layer->SetSurfaceId(surface_id, scale, surface_size_in_pixels,
|
| + false /* stretch_content_to_fill_bounds */);
|
| SwitchToLayer(new_layer);
|
| surface_layer_ = new_layer;
|
|
|
|
|