That form factor absolutely will not work on most ships as the outlets are recessed or partially obstructed. You need something with a straight plug and a short cord to be sure.
We always use a simple 3 outlet non-protected power strip. I bring separate USB chargers for any devices because everything with the built in ports seem to charge at the older 2A standard and everything takes an insane amount of time to charge.