• akling@apple.com's avatar
    RenderLayerCompositor::m_renderView should be a reference. · 3ab117a8
    akling@apple.com authored
    Reviewed by Antti Koivisto.
    The RenderLayerCompositor is always created by a RenderView passing itself to the constructor.
    By making m_renderView a reference, we flush out some unnecessary null checks.
    We also gain a pointer-free path to Settings through m_renderView.frameView().frame().settings()
    so we don't have to make those blocks conditional anymore, reducing ambiguity.
    * rendering/RenderLayerCompositor.cpp:
    * rendering/RenderLayerCompositor.h:
    * rendering/RenderView.cpp:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 2.16 MB