Gallery: Use common centering function to avoid gap.
commitc39c3572e353b8120ae64aaf77d32f52598b740e
authorhirono <hirono@chromium.org>
Thu, 11 Jun 2015 05:40:19 +0000 (10 22:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 05:40:53 +0000 (11 05:40 +0000)
tree5bd1a2169ecfd3c96ad8a429fee9e280ac6097f7
parent94a2f6723baafacccc5dbc881715d5c9590fd390
Gallery: Use common centering function to avoid gap.

BUG=498783
TEST=manually

Review URL: https://codereview.chromium.org/1175213002

Cr-Commit-Position: refs/heads/master@{#333898}
ui/file_manager/gallery/js/image_editor/viewport.js