Index: Source/platform/transforms/TransformOperations.cpp |
diff --git a/Source/platform/transforms/TransformOperations.cpp b/Source/platform/transforms/TransformOperations.cpp |
index b9d4ade92b71d593bcc4b3580f3cf7c497881dfc..a0664f7d71439d9f48642e4150e4e74c81ba613d 100644 |
--- a/Source/platform/transforms/TransformOperations.cpp |
+++ b/Source/platform/transforms/TransformOperations.cpp |
@@ -75,7 +75,7 @@ TransformOperations TransformOperations::blendByMatchingOperations(const Transfo |
for (unsigned i = 0; i < size; i++) { |
RefPtr<TransformOperation> fromOperation = (i < fromSize) ? from.operations()[i].get() : 0; |
RefPtr<TransformOperation> toOperation = (i < toSize) ? operations()[i].get() : 0; |
- RefPtr<TransformOperation> blendedOperation = toOperation ? toOperation->blend(fromOperation.get(), progress) : (fromOperation ? fromOperation->blend(0, progress, true) : 0); |
+ RefPtr<TransformOperation> blendedOperation = toOperation ? toOperation->blend(fromOperation.get(), progress) : (fromOperation ? fromOperation->blend(0, progress, true) : nullptr); |
if (blendedOperation) |
result.operations().append(blendedOperation); |
else { |