Changeset 191319 in webkit


Ignore:
Timestamp:
Oct 19, 2015 3:20:45 PM (9 years ago)
Author:
Simon Fraser
Message:

Restore an assertion to the way it was before r191310, which was correct.

  • platform/graphics/GraphicsTypes.cpp:

(WebCore::compositeOperatorName):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r191318 r191319  
     12015-10-19  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Restore an assertion to the way it was before r191310, which was correct.
     4
     5        * platform/graphics/GraphicsTypes.cpp:
     6        (WebCore::compositeOperatorName):
     7
    182015-10-19  Beth Dakin  <bdakin@apple.com>
    29
  • trunk/Source/WebCore/platform/graphics/GraphicsTypes.cpp

    r191310 r191319  
    113113    ASSERT(op < numCompositeOperatorNames);
    114114    ASSERT(blendOp >= BlendModeNormal);
    115     ASSERT(blendOp < numBlendOperatorNames);
     115    ASSERT(blendOp <= numBlendOperatorNames);
    116116    if (blendOp > BlendModeNormal)
    117117        return blendOperatorNames[blendOp - BlendModeNormal];
Note: See TracChangeset for help on using the changeset viewer.