[Ozone-Drm] Properly clear display configuration callbacks
commit094602e25b9df9c25165181f8b23eb7898f1c274
authordnicoara <dnicoara@chromium.org>
Thu, 12 Mar 2015 17:27:17 +0000 (12 10:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Mar 2015 17:27:57 +0000 (12 17:27 +0000)
tree9298a4b1900d34d05cca111d8245dd0bfddd0075
parent81b497cdc14855e407e4406dac8a47346fa7ce8e
[Ozone-Drm] Properly clear display configuration callbacks

Need to copy the callback locally and clear the state before calling the
callback otherwise the callback could be improperly reset if a
configuration request happens from within the callback.

BUG=none

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

Cr-Commit-Position: refs/heads/master@{#320308}
ui/ozone/platform/drm/host/drm_native_display_delegate.cc
ui/ozone/platform/drm/host/drm_native_display_delegate.h