Refactor surface property sync
The exact* same code shows up in RWHVA:: OnDeviceScaleFactorChanged() WasResized() InternalSetBounds() This patch refactors that code out to its own function. *There is one tiny difference, notifying the host of the resize or not. Bug: 814916 Change-Id: I9336d476a904930cd6a700ee0700d7685000c00c Reviewed-on: https://chromium-review.googlesource.com/932830 Commit-Queue: Chris Blume <cblume@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#539199}
Showing
Please register or sign in to comment