Revert of Merge the recursion into updateLayerPositions (https://codereview.chromium.org/149783003/)

Reason for revert:
This patch caused http://crbug.com/340397 (failure to invalidate many tiles during device rotation).  Unfortunately this wasn't caught by any tests but is a quite serious rendering bug.

Original issue's description:
> Merge the recursion into updateLayerPositions
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166230

TBR=shawnsingh@chromium.org,vollick@chromium.org,enne@chromium.org,abarth@chromium.org,ojan@chromium.org,eseidel@chromium.org,esprehn@chromium.org
NOTREECHECKS=true
NOTRY=true

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

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