Changeset 150394 in webkit


Ignore:
Timestamp:
May 20, 2013 6:25:04 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Remove DISABLE_ROUNDED_CORNER_CLIPPING
https://bugs.webkit.org/show_bug.cgi?id=115531

Patch by Jeff Rogers <jrogers@blackberry.com> on 2013-05-20
Reviewed by Andreas Kling.

BlackBerry port is no longer using this.

  • rendering/RenderLayer.cpp:

(WebCore::inContainingBlockChain):
(WebCore::RenderLayer::clipToRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r150388 r150394  
     12013-05-20  Jeff Rogers  <jrogers@blackberry.com>
     2
     3        Remove DISABLE_ROUNDED_CORNER_CLIPPING
     4        https://bugs.webkit.org/show_bug.cgi?id=115531
     5
     6        Reviewed by Andreas Kling.
     7
     8        BlackBerry port is no longer using this.
     9
     10        * rendering/RenderLayer.cpp:
     11        (WebCore::inContainingBlockChain):
     12        (WebCore::RenderLayer::clipToRect):
     13
    1142013-05-20  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r150355 r150394  
    125125#include "CustomFilterValidatedProgram.h"
    126126#include "ValidatedCustomFilterOperation.h"
    127 #endif
    128 
    129 #if PLATFORM(BLACKBERRY)
    130 #define DISABLE_ROUNDED_CORNER_CLIPPING
    131127#endif
    132128
     
    34953491}
    34963492
    3497 #ifndef DISABLE_ROUNDED_CORNER_CLIPPING
    34983493static bool inContainingBlockChain(RenderLayer* startLayer, RenderLayer* endLayer)
    34993494{
     
    35093504    return false;
    35103505}
    3511 #endif
    35123506
    35133507void RenderLayer::clipToRect(RenderLayer* rootLayer, GraphicsContext* context, const LayoutRect& paintDirtyRect, const ClipRect& clipRect,
     
    35183512        context->clip(pixelSnappedIntRect(clipRect.rect()));
    35193513    }
    3520    
    3521 #ifndef DISABLE_ROUNDED_CORNER_CLIPPING
     3514
    35223515    if (!clipRect.hasRadius())
    35233516        return;
     
    35363529            break;
    35373530    }
    3538 #endif
    35393531}
    35403532
Note: See TracChangeset for help on using the changeset viewer.