From: Hermet Park Date: Mon, 13 Aug 2018 10:07:35 +0000 (+0900) Subject: lottieplayer: remove redundant calls. X-Git-Tag: submit/tizen/20180917.042405~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F186677%2F1;p=platform%2Fcore%2Fuifw%2Flottie-player.git lottieplayer: remove redundant calls. Those calls are useless on load time. Change-Id: If69033eb244078c4f9b9258fcbc71eff17b894c9 --- diff --git a/src/lottie/lottieplayer.cpp b/src/lottie/lottieplayer.cpp index f3ca324..7c97398 100644 --- a/src/lottie/lottieplayer.cpp +++ b/src/lottie/lottieplayer.cpp @@ -119,10 +119,6 @@ bool LOTPlayerPrivate::setFilePath(std::string path) if (loader.load(path)) { mModel = loader.model(); mCompItem = std::make_unique(mModel.get()); - if (!mSize.isEmpty()) { - setSize(mSize); - setPos(0); - } return true; } return false;