Avoid calling FocusRing Hide when already it is hidden state.
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / efl / WebPageProxyEfl.cpp
index ff397ec..d9ca56f 100755 (executable)
@@ -1110,7 +1110,7 @@ void WebPageProxy::didChangeFocusedRects(const Vector<IntRect>& rects)
 
         if (canUpdate)
             focusRing->show(rects);
-    } else
+    } else if (focusRing->canUpdate())
         focusRing->hide(false);
 }