libaurum: Delete useless node update(refresh) 61/261961/3
authorWoochanlee <wc0917.lee@samsung.com>
Thu, 29 Jul 2021 13:06:59 +0000 (22:06 +0900)
committerwoochan lee <wc0917.lee@samsung.com>
Mon, 2 Aug 2021 06:04:30 +0000 (06:04 +0000)
It updated when it created.
It fixes duplicated node update.

Change-Id: I072464e8516c919198bb68445f0ce0360b48ddaa

libaurum/src/Comparer.cc

index 1aee954..e12223e 100644 (file)
@@ -55,7 +55,6 @@ std::vector<std::shared_ptr<AccessibleNode>> Comparer::findObjects(
 {
     std::vector<std::shared_ptr<AccessibleNode>> ret;
 
-    root->refresh();
     for (auto &match : partialMatches)
         match->update(root, index, depth, partialMatches);