Correct clean up condition in -resetWebStateWithSessionStorage:.
Originally all clean up was conditioned on _webState->GetView().superview == self, which looks wrong. So I removed the condition except for [_webState->GetView() removeFromSuperview]. It may not cause any issues in practice, though. Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: I2ce98cc4b568c6b450d20c5193f5eaebad7cde96 Reviewed-on: https://chromium-review.googlesource.com/c/1280088Reviewed-by:John Wu <jzw@chromium.org> Commit-Queue: John Wu <jzw@chromium.org> Cr-Commit-Position: refs/heads/master@{#599650}
Showing
Please register or sign in to comment