Apply scroll and scale delta values to client even if root layer is NULL.
The early out here meant that if the root layer was detached when
BeginMainFrame started, the sent deltas would be lost and then clobbered
on commit. This was causing a specific bug where top controls would
occasionally hide on initialization. This CL skips the early out, avoiding
only the scroll offset application on the layer tree if root_layer is NULL.
This patch also reverts the functional parts of
https://codereview.chromium.org/647753004 since this early out was the
reason for that patch.
BUG=423139
Review URL: https://codereview.chromium.org/651633003
Cr-Commit-Position: refs/heads/master@{#301842}
4 files changed