Use the display ID from WTH table to find the candidate id for new primary display.
commit8aa20b07174add633dd74957558e22c41ae35a61
authoroshima <oshima@chromium.org>
Thu, 8 Jan 2015 17:29:17 +0000 (8 09:29 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 8 Jan 2015 17:30:43 +0000 (8 17:30 +0000)
tree13a9e951c8ed0a61193198f80ecf3d27a56143b4
parentcda33846b3070d2374853fa1c264ff134db847a0
Use the display ID from WTH table to find the candidate id for new primary display.

using GetSecondaryDisplay can return wrong (too new) information when used during transition.

BUG=426292,438840
TEST=covered by unittest
R=jamescook@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#310525}
ash/display/display_controller.cc
ash/display/display_controller_unittest.cc