Title: [276143] trunk/Source/WebCore
Revision
276143
Author
[email protected]
Date
2021-04-16 10:51:40 -0700 (Fri, 16 Apr 2021)

Log Message

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

* platform/graphics/nicosia/NicosiaAnimation.cpp:
(Nicosia::blendFunc):
(Nicosia::applyTransformAnimation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (276142 => 276143)


--- trunk/Source/WebCore/ChangeLog	2021-04-16 17:23:50 UTC (rev 276142)
+++ trunk/Source/WebCore/ChangeLog	2021-04-16 17:51:40 UTC (rev 276143)
@@ -1,5 +1,13 @@
 2021-04-16  Chris Dumez  <[email protected]>
 
+        Unreviewed attempt to fix GTK's build after Antoine's r276141.
+
+        * platform/graphics/nicosia/NicosiaAnimation.cpp:
+        (Nicosia::blendFunc):
+        (Nicosia::applyTransformAnimation):
+
+2021-04-16  Chris Dumez  <[email protected]>
+
         Unreviewed build fix after Antoine's r276141.
 
         * animation/CSSPropertyAnimation.cpp:

Modified: trunk/Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp (276142 => 276143)


--- trunk/Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp	2021-04-16 17:23:50 UTC (rev 276142)
+++ trunk/Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp	2021-04-16 17:51:40 UTC (rev 276143)
@@ -28,7 +28,7 @@
 
 static RefPtr<FilterOperation> blendFunc(FilterOperation* fromOp, FilterOperation& toOp, double progress, const FloatSize&, bool blendToPassthrough = false)
 {
-    return toOp.blend(fromOp, progress, blendToPassthrough);
+    return toOp.blend(fromOp, { progress }, blendToPassthrough);
 }
 
 static FilterOperations applyFilterAnimation(const FilterOperations& from, const FilterOperations& to, double progress, const FloatSize& boxSize)
@@ -138,7 +138,7 @@
     if (!to.size()) {
         TransformOperations blended(from);
         for (auto& operation : blended.operations())
-            operation->blend(nullptr, progress, true)->apply(matrix, boxSize);
+            operation->blend(nullptr, { progress }, true)->apply(matrix, boxSize);
         return matrix;
     }
 
@@ -146,7 +146,7 @@
     if (!from.size()) {
         TransformOperations blended(to);
         for (auto& operation : blended.operations())
-            operation->blend(nullptr, 1 - progress, true)->apply(matrix, boxSize);
+            operation->blend(nullptr, { 1 - progress }, true)->apply(matrix, boxSize);
         return matrix;
     }
 
@@ -153,7 +153,7 @@
     // Normal animation with a matching operation list.
     TransformOperations blended(to);
     for (size_t i = 0; i < blended.operations().size(); ++i)
-        blended.operations()[i]->blend(from.at(i), progress, !from.at(i))->apply(matrix, boxSize);
+        blended.operations()[i]->blend(from.at(i), { progress }, !from.at(i))->apply(matrix, boxSize);
     return matrix;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to