From 6e60047a5609ba6b28e472a954935a2cd11c1956 Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Tue, 11 Dec 2018 10:50:07 +0900 Subject: [PATCH] lottie: use testFlag() api to test the flag. Change-Id: I3ee5341c66562241f0d83ee396347804d5b0eb7d --- src/lottie/lottieitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lottie/lottieitem.cpp b/src/lottie/lottieitem.cpp index dcf3f8b..631dae1 100644 --- a/src/lottie/lottieitem.cpp +++ b/src/lottie/lottieitem.cpp @@ -389,7 +389,7 @@ void LOTLayerItem::update(int frameNumber, const VMatrix &parentMatrix, } // 5. if no parent property change and layer is static then nothing to do. - if ((flag() & DirtyFlagBit::None) && isStatic()) return; + if (flag().testFlag(DirtyFlagBit::None) && isStatic()) return; // 6. update the content of the layer updateContent(); -- 2.34.1