chromeos: reset pending LocalSurfaceId when setting bounds from server

If the bounds from the server are applied, then any pending LocalSurfaceId
is no longer applicable and should be dropped. Without this, it's entirely
possible to try and incorrectly apply a pending (now old and dated)
LocalSurfaceId, resulting in surface-invariants triggering.

BUG=933642
TEST=covered by tests

Change-Id: Iaeb706ad0e830eef367e47053d9d3566e971051a
Reviewed-on: https://chromium-review.googlesource.com/c/1478461
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633967}
2 files changed