[iOS] Automatic UA is restored when flag is enabled
This CL makes sure that the AUTOMATIC UserAgentType is restored in the WebState when the flag to have the AUTOMATIC UserAgent is enabled. In some cases (for example after updating the flag), the session is restored with the AUTOMATIC UserAgent, leading to a DCHECK. Bug: None Change-Id: Iceb9e8b2af25db987e80f07e9fbb2911d0c4f0c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2329709Reviewed-by:Ali Juma <ajuma@chromium.org> Reviewed-by:
Sebastien Lalancette <seblalancette@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Auto-Submit: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#793604}
Showing
Please register or sign in to comment