crosswalk-project/crosswalk — pull request #1486 by kenchris (2014-01-15 15:16:59+00:00)
Title: Fix orientation sometimes getting stuck in current orientation after unlock

While we are locked the display_.rotation() can get out of sync with the
actual device orientation, so we need to find the best orientation given
the actual orientation, not the old one.