Skip to content
  • antti@apple.com's avatar
    Make SimpleLineLayout::Layout a variable size object · afe9c578
    antti@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123459
    
    Reviewed by Andreas Kling.
    
    Less memory, less indirection.
    
    * rendering/SimpleLineLayout.cpp:
    (WebCore::SimpleLineLayout::canUseFor):
    (WebCore::SimpleLineLayout::create):
    (WebCore::SimpleLineLayout::Layout::create):
    (WebCore::SimpleLineLayout::Layout::Layout):
    * rendering/SimpleLineLayout.h:
    * rendering/SimpleLineLayoutFunctions.cpp:
    (WebCore::SimpleLineLayout::hitTestFlow):
    * rendering/SimpleLineLayoutFunctions.h:
    (WebCore::SimpleLineLayout::computeFlowFirstLineBaseline):
    (WebCore::SimpleLineLayout::computeFlowLastLineBaseline):
    (WebCore::SimpleLineLayout::findTextCaretMinimumOffset):
    (WebCore::SimpleLineLayout::findTextCaretMaximumOffset):
    (WebCore::SimpleLineLayout::containsTextCaretOffset):
    (WebCore::SimpleLineLayout::isTextRendered):
    * rendering/SimpleLineLayoutResolver.h:
    (WebCore::SimpleLineLayout::RunResolver::end):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    afe9c578