Description[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
Committed: https://crrev.com/fc379556cd1f1cafb51f1ddb86bf34255e9c526f
Cr-Commit-Position: refs/heads/master@{#403934}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|