Revert of Revert "Revert 164645 "Avoid layout/full-repaint on view height change i..."" (https://codereview.chromium.org/148753002/)

Reason for revert:
Caused again sports.yahoo.com record_time increase: https://chromeperf.appspot.com/report?masters=ChromiumPerf&bots=chromium-rel-mac8&tests=rasterize_and_record.top_25%2Frecord_time&checked=record_time%2Cref%2Chttp___sports.yahoo.com_&start_rev=246482&end_rev=1390027600

BUG=332456


Original issue's description:
> Revert "Revert 164645 "Avoid layout/full-repaint on view height change i...""
> 
> This reverts commit 166d030c63413b70afd725b352030485c09292f0.
> 
> > Revert 164645 "Avoid layout/full-repaint on view height change i..."
> >
> > Suspect it caused performance regression.
> >
> > > Avoid layout/full-repaint on view height change if possible
> > >
> > > Previously we always layout/full-repaint of the whole view when the height
> > > of the RenderView changes. In many cases this is unnecessary. Especially,
> > > this causes unnecessary cost on Android when the top control shows or
> > > hides.
> > >
> > > Avoid repaint if the RenderView doesn't needs full layout.
> > >
> > > BUG=258219
> > > BUG=327815(about RenderBlock::percentHeightDescendants)
> > >
> > > TEST=WebFrameTest.heightChangeRepaint
> > > TEST=all layout tests still pass
> > >
> > > Review URL: https://codereview.chromium.org/99663004
> >
> > BUG=332456
> > TBR=wangxianzhu@chromium.org
> >
> > Review URL: https://codereview.chromium.org/135243002
> 
> BUG=332456,258219
> TBR=wangxianzhu@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165908

TBR=
NOTREECHECKS=true
NOTRY=true
BUG=332456,258219

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165983 bbb929c8-8fbe-4397-9dbb-9b2b20218538