Infinite recursion in _clearImmediateActionState
[WebKit-https.git] / Source / WebKit2 / UIProcess / mac / WKImmediateActionController.mm
index 082bd0c4b1ed5f203d25c4183509dd0da2ff5420..8ac5ab0f61b273be98a185fc97cfc028bead6da7 100644 (file)
@@ -117,8 +117,8 @@ using namespace WebKit;
     _page->clearTextIndicator();
 
     if (_currentActionContext && _hasActivatedActionContext) {
-        [getDDActionsManagerClass() didUseActions];
         _hasActivatedActionContext = NO;
+        [getDDActionsManagerClass() didUseActions];
     }
 
     _state = ImmediateActionState::None;