cc: Invalidate the full tiled layer when contents scale changes.

Previously we invalidated only the area outside of the previous
bounds, but this is incorrect when changing the scale.

The verifyInvalidationWhenContentsScaleChanges test was not actually
testing to make sure invalidation happened, so fixed the test to do
its job.

Tests:
TiledLayerTest.verifyInvalidationWhenContentsScaleChanges

BUG=166715
R=enne
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11644035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174042 0039d316-1c4b-4281-b951-d872f2087c98
6 files changed