Revert of Reapply "Avoid layout/full-repaint on view height change if possible" (https://codereview.chromium.org/153543005/)

Reason for revert:
Caused several bugs. See crbug.com/258219 for details.

Original issue's description:
> Reapply "Avoid layout/full-repaint on view height change if possible"
> 
> This reapply the following change (r164645):
> 
> > 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
> 
> The change has been reverted twice because of bug 332456.
> Now skip the optimized path for sub-frames.
> 
> TBR=wangxianzhu@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166639

TBR=esprehn@chromium.org,eseidel@chromium.org,abarth@chromium.org,leviw@chromium.org,ojan@chromium.org
NOTREECHECKS=true
NOTRY=true

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

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