cc: Sync raster scales when commiting/activating
cc: Sync raster scales when commiting/activating

Currently there's a bug where tilings are synced from pending->active,
but the raster/page/source scale have already been calculated.  If at some
point a layer syncs no tilings (because !drawsContent), then ManageTilings
will not add more tilings because it thinks all the scales have been
calculated.

The fix is to consider tilings and scales as a single unit.  When we sync
tilings, we also sync these values.  As they represent the last time
ManageTilings was called for that layer, they are also still accurate
post-activation.

NOTRY=true
R=danakj@chromium.org
BUG=174771


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

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@182582 0039d316-1c4b-4281-b951-d872f2087c98

dushu1203/chromium.src,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,Chilledheart/chromium,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,mogoweb/chromium-crosswalk,Chilledheart/chromium,anirudhSK/chromium,timopulkkinen/BubbleFish,anirudhSK/chromium,mogoweb/chromium-crosswalk,dushu1203/chromium.src,patrickm/chromium.src,ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,M4sse/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,Jonekee/chromium.src,jaruba/chromium.src,markYoungH/chromium.src,jaruba/chromium.src,krieger-od/nwjs_chromium.src,patrickm/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,littlstar/chromium.src,jaruba/chromium.src,jaruba/chromium.src,Chilledheart/chromium,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,M4sse/chromium.src,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,ltilve/chromium,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,anirudhSK/chromium,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,jaruba/chromium.src,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,fujunwei/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,dednal/chromium.src,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,bright-sparks/chromium-spacewalk,dushu1203/chromium.src,M4sse/chromium.src,ondra-novak/chromium.src,markYoungH/chromium.src,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,Jonekee/chromium.src,anirudhSK/chromium,Jonekee/chromium.src,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk,pozdnyakov/chromium-crosswalk,krieger-od/nwjs_chromium.src,ltilve/chromium,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,littlstar/chromium.src,dednal/chromium.src,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,M4sse/chromium.src,ltilve/chromium,Chilledheart/chromium,hujiajie/pa-chromium,littlstar/chromium.src,dushu1203/chromium.src,littlstar/chromium.src,patrickm/chromium.src,littlstar/chromium.src,Fireblend/chromium-crosswalk,dednal/chromium.src,ltilve/chromium,bright-sparks/chromium-spacewalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,jaruba/chromium.src,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,ondra-novak/chromium.src,M4sse/chromium.src,dednal/chromium.src,anirudhSK/chromium,mogoweb/chromium-crosswalk,krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,dednal/chromium.src,axinging/chromium-crosswalk,Just-D/chromium-1,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,dednal/chromium.src,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,zcbenz/cefode-chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,fujunwei/chromium-crosswalk,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,hujiajie/pa-chromium,mogoweb/chromium-crosswalk,anirudhSK/chromium,anirudhSK/chromium,dushu1203/chromium.src,zcbenz/cefode-chromium,axinging/chromium-crosswalk,markYoungH/chromium.src,patrickm/chromium.src,ltilve/chromium,dushu1203/chromium.src,zcbenz/cefode-chromium,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,Chilledheart/chromium,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,Chilledheart/chromium,mogoweb/chromium-crosswalk,ChromiumWebApps/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,ltilve/chromium,jaruba/chromium.src,axinging/chromium-crosswalk,ltilve/chromium,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk,littlstar/chromium.src,timopulkkinen/BubbleFish,dushu1203/chromium.src,M4sse/chromium.src,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,zcbenz/cefode-chromium,ondra-novak/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,M4sse/chromium.src,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,M4sse/chromium.src,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,Just-D/chromium-1,anirudhSK/chromium,hujiajie/pa-chromium,ChromiumWebApps/chromium,dednal/chromium.src,dushu1203/chromium.src,ChromiumWebApps/chromium,Jonekee/chromium.src,anirudhSK/chromium,ondra-novak/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,jaruba/chromium.src,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,dednal/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,ChromiumWebApps/chromium,littlstar/chromium.src,hujiajie/pa-chromium,ltilve/chromium,patrickm/chromium.src,zcbenz/cefode-chromium,markYoungH/chromium.src,ChromiumWebApps/chromium,fujunwei/chromium-crosswalk,ltilve/chromium,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,chuan9/chromium-crosswalk,Just-D/chromium-1,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,dednal/chromium.src,pozdnyakov/chromium-crosswalk,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,Jonekee/chromium.src,Just-D/chromium-1,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src