Revert of cc: Remove tile and scale specific code from raster source (patchset #4...
commit0dc47d774c6a2f4dd9d5c357c15cc67291f9ebfb
authorjdduke <jdduke@chromium.org>
Sat, 3 Jan 2015 02:06:46 +0000 (2 18:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 3 Jan 2015 02:07:27 +0000 (3 02:07 +0000)
tree7983fafa3a713336802ca0aaddacf48b4cbed537
parent6d1f2981f3204852a9189d0b6e7ad0b18659d68d
Revert of cc: Remove tile and scale specific code from raster source (patchset #4 id:60001 of https://codereview.chromium.org/811953005/)

Reason for revert:
Broke the build due to collision with crrev.com/820743002.
Probably just needs a rebase and constructor tweak, reverting for now to be safe.

Original issue's description:
> cc: Remove tile and scale specific code from raster source
>
> Fix a TODO I added a while back.  Instead of calling SetMinContentsScale
> and SetTileGridSize directly, pass these as parameters to constructor of the
> PicturePile.
>
> Committed: https://crrev.com/6d1f2981f3204852a9189d0b6e7ad0b18659d68d
> Cr-Commit-Position: refs/heads/master@{#309867}

TBR=vmpstr@chromium.org,hendrikw@chromium.org
NOTREECHECKS=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#309868}
cc/layers/picture_layer.cc
cc/resources/display_list_recording_source.cc
cc/resources/display_list_recording_source.h
cc/resources/picture_pile.cc
cc/resources/picture_pile.h
cc/resources/picture_pile_unittest.cc
cc/resources/recording_source.h
cc/test/fake_picture_pile.h
cc/test/fake_picture_pile_impl.cc
cc/trees/layer_tree_host_unittest.cc