ash: Don't crash associating touchscreens if there's no internal display
commit925d5741f1cd7fcf6b99825ffc7dae0e36e95181
authorspang <spang@chromium.org>
Thu, 30 Jul 2015 13:48:20 +0000 (30 06:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Jul 2015 13:49:27 +0000 (30 13:49 +0000)
tree1c5f3f4a25ff864769beea691ef2fa9d629b8457
parent16948129d41ec7291b128f5d358116d973c1e2f9
ash: Don't crash associating touchscreens if there's no internal display

This fixes a null pointer dereference in AssociateTouchscreens() since
45f6aaf ("ash: Support multiple touch input devices per display");

BUG=515201

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

Cr-Commit-Position: refs/heads/master@{#341107}
ash/touch/touchscreen_util.cc