Combined scale factor and delta updates into one call.
commitd6021f6a76266870313136c2d9a77c02aea354e2
authorbokan@chromium.org <bokan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 12 Jun 2014 21:15:24 +0000 (12 21:15 +0000)
committerbokan@chromium.org <bokan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 12 Jun 2014 21:15:24 +0000 (12 21:15 +0000)
tree18cb108ab77281aa6ebacdc481f09faeb54fbcd5
parent7aeb8a933bb8c7d8e5fe34a8ab5740ce6b86e238
Combined scale factor and delta updates into one call.

When synchronizing page scale values between trees, setting the page scale
factor and deltas seperately means that the observer functions called when
the page scale factor was changed get called with a transient, incorrect
total page scale factor. This CL combines the seperate methods for updating
the page scale factor and page scale delta into one and updated tree
synchronizations to use this new one-shot function. The old methods remain
but call into the newly added method.

BUG=366249

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276804 0039d316-1c4b-4281-b951-d872f2087c98
cc/trees/layer_tree_host.cc
cc/trees/layer_tree_impl.cc
cc/trees/layer_tree_impl.h