DCLayerOverlay should damage entire frame on resize.

The output surface (and SetDamageRectCHROMIUM) requires that the entire
output surface be redrawn on resize. So don't attempt to subtract out
damage in this case. Also, the damage rect must always be contained
within the output rect, so clip it to that.

BUG=678800
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2754663003
Cr-Commit-Position: refs/heads/master@{#457632}
3 files changed