⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 276143 in webkit


Ignore:
Timestamp:
Apr 16, 2021, 10:51:40 AM (5 years ago)
Author:
Chris Dumez
Message:

Unreviewed attempt to fix GTK's build after Antoine's r276141.

  • platform/graphics/nicosia/NicosiaAnimation.cpp:

(Nicosia::blendFunc):
(Nicosia::applyTransformAnimation):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r276142 r276143  
     12021-04-16  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed attempt to fix GTK's build after Antoine's r276141.
     4
     5        * platform/graphics/nicosia/NicosiaAnimation.cpp:
     6        (Nicosia::blendFunc):
     7        (Nicosia::applyTransformAnimation):
     8
    192021-04-16  Chris Dumez  <cdumez@apple.com>
    210
  • trunk/Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp

    r266000 r276143  
    2929static RefPtr<FilterOperation> blendFunc(FilterOperation* fromOp, FilterOperation& toOp, double progress, const FloatSize&, bool blendToPassthrough = false)
    3030{
    31     return toOp.blend(fromOp, progress, blendToPassthrough);
     31    return toOp.blend(fromOp, { progress }, blendToPassthrough);
    3232}
    3333
     
    139139        TransformOperations blended(from);
    140140        for (auto& operation : blended.operations())
    141             operation->blend(nullptr, progress, true)->apply(matrix, boxSize);
     141            operation->blend(nullptr, { progress }, true)->apply(matrix, boxSize);
    142142        return matrix;
    143143    }
     
    147147        TransformOperations blended(to);
    148148        for (auto& operation : blended.operations())
    149             operation->blend(nullptr, 1 - progress, true)->apply(matrix, boxSize);
     149            operation->blend(nullptr, { 1 - progress }, true)->apply(matrix, boxSize);
    150150        return matrix;
    151151    }
     
    154154    TransformOperations blended(to);
    155155    for (size_t i = 0; i < blended.operations().size(); ++i)
    156         blended.operations()[i]->blend(from.at(i), progress, !from.at(i))->apply(matrix, boxSize);
     156        blended.operations()[i]->blend(from.at(i), { progress }, !from.at(i))->apply(matrix, boxSize);
    157157    return matrix;
    158158}
Note: See TracChangeset for help on using the changeset viewer.