[Layout API] Use API shim in LayoutObjectTest

As this test resides in core/layout/ and is directly testing the
layout object itself, there's no particular reason to rewrite it to
route everything through the block layout API. The only reason it would
come up is that it relies on Document::layoutView(), which is being
replaced in other code with Document::layoutViewItem().

Instead, I'm going to poke through the API and allow this privileged
code to access the underlying layout object.

There are no functional changes.

BUG=499321

Review-Url: https://codereview.chromium.org/2127923003
Cr-Commit-Position: refs/heads/master@{#403934}
1 file changed