Changeset 276143 in webkit
- Timestamp:
- Apr 16, 2021, 10:51:40 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/nicosia/NicosiaAnimation.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r276142 r276143 1 2021-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 1 9 2021-04-16 Chris Dumez <cdumez@apple.com> 2 10 -
trunk/Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp
r266000 r276143 29 29 static RefPtr<FilterOperation> blendFunc(FilterOperation* fromOp, FilterOperation& toOp, double progress, const FloatSize&, bool blendToPassthrough = false) 30 30 { 31 return toOp.blend(fromOp, progress, blendToPassthrough);31 return toOp.blend(fromOp, { progress }, blendToPassthrough); 32 32 } 33 33 … … 139 139 TransformOperations blended(from); 140 140 for (auto& operation : blended.operations()) 141 operation->blend(nullptr, progress, true)->apply(matrix, boxSize);141 operation->blend(nullptr, { progress }, true)->apply(matrix, boxSize); 142 142 return matrix; 143 143 } … … 147 147 TransformOperations blended(to); 148 148 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); 150 150 return matrix; 151 151 } … … 154 154 TransformOperations blended(to); 155 155 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); 157 157 return matrix; 158 158 }
Note:
See TracChangeset
for help on using the changeset viewer.