Changeset 150778 in webkit


Ignore:
Timestamp:
May 27, 2013 2:11:58 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Add guard around paintForFixedRootBackground
https://bugs.webkit.org/show_bug.cgi?id=116754

Patch by Seokju Kwon <Seokju Kwon> on 2013-05-27
Reviewed by Simon Fraser.

paintForFixedRootBackground is only used when ACCELERATED_COMPOSITING is enabled.

No new tests, no behavior change.

  • rendering/RenderLayer.cpp:

(WebCore):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r150777 r150778  
     12013-05-27  Seokju Kwon  <seokju.kwon@gmail.com>
     2
     3        Add guard around paintForFixedRootBackground
     4        https://bugs.webkit.org/show_bug.cgi?id=116754
     5
     6        Reviewed by Simon Fraser.
     7
     8        paintForFixedRootBackground is only used when ACCELERATED_COMPOSITING is enabled.
     9
     10        No new tests, no behavior change.
     11
     12        * rendering/RenderLayer.cpp:
     13        (WebCore):
     14
    1152013-05-27  Seokju Kwon  <seokju.kwon@gmail.com>
    216
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r150775 r150778  
    35973597}
    35983598
     3599#if USE(ACCELERATED_COMPOSITING)
    35993600static bool paintForFixedRootBackground(const RenderLayer* layer, RenderLayer::PaintLayerFlags paintFlags)
    36003601{
    36013602    return layer->renderer()->isRoot() && (paintFlags & RenderLayer::PaintLayerPaintingRootBackgroundOnly);
    36023603}
     3604#endif
    36033605
    36043606void RenderLayer::paintLayer(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags)
Note: See TracChangeset for help on using the changeset viewer.