[iOS][WebKit2] Adopt SPI for managing tabs
[WebKit-https.git] / Source / WebKit2 / UIProcess / WebPageProxy.cpp
index dbcfd37..a89d184 100644 (file)
@@ -1025,6 +1025,9 @@ void WebPageProxy::viewStateDidChange(ViewState::Flags mayHaveChanged, WantsRepl
     }
 #endif
 
+    if (changed & ViewState::IsInWindow)
+        process().updateProcessState();
+
     updateBackingStoreDiscardableState();
 }