From: subhransu mohanty Date: Tue, 11 Dec 2018 01:50:07 +0000 (+0900) Subject: lottie: use testFlag() api to test the flag. X-Git-Tag: submit/tizen/20181217.041818~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F15%2F195115%2F3;p=platform%2Fcore%2Fuifw%2Flottie-player.git lottie: use testFlag() api to test the flag. Change-Id: I3ee5341c66562241f0d83ee396347804d5b0eb7d --- 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();