[CSS Grid Layout] Make resolveContentBasedTrackSizingFunctionsForItems reuse distributeSpaceToTracks
https://bugs.webkit.org/show_bug.cgi?id=108110

Reviewed by Tony Chang.

This change makes us match more closely the specification by reusing distributeSpaceToTracks inside
resolveContentBasedTrackSizingFunctionsForItems. This also removes some existing code duplication.

Refactoring covered by existing tests.

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
Updated after distributeSpaceToTracks new arguments. Copying the tracks to a Vector<GridTrack*> is
now done here.

(WebCore::RenderGrid::resolveContentBasedTrackSizingFunctionsForItems):
Removed code duplication and switched to using distributeSpaceToTracks.

(WebCore::RenderGrid::distributeSpaceToTracks):
Refactored distributeSpaceToTracks to implement the distribution of any extra space above max breadth
as it was required to pass the tests (required to properly handling min-content > max). Also changed
the arguments of the function to better match the intent of the function.

* rendering/RenderGrid.h: Updated distributeSpaceToTracks's arguments.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Temporarily disable inspector tests. 
They are all timing out due to some configuration problem on the bots.

* platform/win/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141164 268f45cc-cd09-0410-ab3c-d52691b4dbfc