Changeset 171725 in webkit


Ignore:
Timestamp:
Jul 29, 2014 1:12:46 AM (10 years ago)
Author:
zandobersek@gmail.com
Message:

[TexMap] GraphicsLayerTextureMapper::addAnimation() box size parameter should be FloatSize
https://bugs.webkit.org/show_bug.cgi?id=135237

Reviewed by Martin Robinson.

  • platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:

(WebCore::GraphicsLayerTextureMapper::addAnimation):

  • platform/graphics/texmap/GraphicsLayerTextureMapper.h: The boxSize parameter of the

addAnimation() method must be of the same type as the parameter in the base class
declaration -- a const FloatSize reference. Only then is the base virtual method
actually overriden.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r171723 r171725  
     12014-07-29  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [TexMap] GraphicsLayerTextureMapper::addAnimation() box size parameter should be FloatSize
     4        https://bugs.webkit.org/show_bug.cgi?id=135237
     5
     6        Reviewed by Martin Robinson.
     7
     8        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
     9        (WebCore::GraphicsLayerTextureMapper::addAnimation):
     10        * platform/graphics/texmap/GraphicsLayerTextureMapper.h: The boxSize parameter of the
     11        addAnimation() method must be of the same type as the parameter in the base class
     12        declaration -- a const FloatSize reference. Only then is the base virtual method
     13        actually overriden.
     14
    1152014-07-28  Dan Bernstein  <mitz@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp

    r168423 r171725  
    621621}
    622622
    623 bool GraphicsLayerTextureMapper::addAnimation(const KeyframeValueList& valueList, const IntSize& boxSize, const Animation* anim, const String& keyframesName, double timeOffset)
     623bool GraphicsLayerTextureMapper::addAnimation(const KeyframeValueList& valueList, const FloatSize& boxSize, const Animation* anim, const String& keyframesName, double timeOffset)
    624624{
    625625    ASSERT(!keyframesName.isEmpty());
  • trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h

    r168423 r171725  
    8282    inline int changeMask() const { return m_changeMask; }
    8383
    84     virtual bool addAnimation(const KeyframeValueList&, const IntSize&, const Animation*, const String&, double);
     84    virtual bool addAnimation(const KeyframeValueList&, const FloatSize&, const Animation*, const String&, double);
    8585    virtual void pauseAnimation(const String&, double);
    8686    virtual void removeAnimation(const String&);
Note: See TracChangeset for help on using the changeset viewer.