[Layout API] Introduce Layout API shim and use in LayerClipRecorderTest.cpp
There are a few final obstacles to removing Document::layoutView() and FrameView::layoutView(), and they require the use of a shim to bust through the block layout API. In LayerClipRecorderTest, it gets a reference to the document's layout view and later passes it to LayoutObjectDrawingRecorder::useCachedDrawingIfPossible, which in turn passes it to DrawingRecorder::useCachedDrawingIfPossible, which is defined in platform/ and can not have a hard dependency on the block layout API. BUG=499321 Review-Url: https://codereview.chromium.org/2036213002 Cr-Commit-Position: refs/heads/master@{#397789}
Showing
Please register or sign in to comment