Description[Layout API] Add LocalFrame::contentLayoutItem and use in VisualViewport
LocalFrame has a public contentLayoutObject() method that returns a
LayoutView*. This needs to go away eventually. To ease migration, I've
added a contentLayoutItem() method next to it that returns a
LayoutViewItem. I fixed once reference in VisualViewport to call
contentLayoutItem() instead of contentLayoutObject() (to access a method
that already exists in LayoutViewItem, so no new API methods required).
I also simplified some code in FrameView that had been working around
the fact that LocalFrame didn't offer a method that returned a
LayoutViewItem.
There are no functional changes.
BUG=499321
Committed: https://crrev.com/1ed9a4dfd34de7d19c6eb8d0bc20dac44f7d355e
Cr-Commit-Position: refs/heads/master@{#383783}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|