This item re-sizes the layer boundaries to match the image bounds, without moving the contents of the layer with respect to the image.
This command can be accessed from the image menubar via Layer → Stack → Layer to Image Size