[LFC] Devirtualize FormattingState
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Jan 2020 17:08:59 +0000 (17:08 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Jan 2020 17:08:59 +0000 (17:08 +0000)
commitdfdd9525c2caa1a14f3da424d7c789b9b6fb2405
tree047088f1a746754f74bd67753569f1559cda2b73
parentb02cf4e77f129672ac6c3841b2eebeee0789c258
[LFC] Devirtualize FormattingState
https://bugs.webkit.org/show_bug.cgi?id=206485

Reviewed by Zalan Bujtas.

The only reason it is virtual is the destructor.

* layout/FormattingState.h:
* layout/LayoutState.cpp:
(WebCore::Layout::LayoutState::createFormattingStateForFormattingRootIfNeeded):
* layout/LayoutState.h:
* layout/blockformatting/BlockFormattingState.h:
* layout/inlineformatting/InlineFormattingState.h:
* layout/tableformatting/TableFormattingState.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/layout/FormattingState.h
Source/WebCore/layout/LayoutState.cpp
Source/WebCore/layout/LayoutState.h
Source/WebCore/layout/blockformatting/BlockFormattingState.h
Source/WebCore/layout/inlineformatting/InlineFormattingState.h
Source/WebCore/layout/tableformatting/TableFormattingState.h