| Index: ios/web/web_state/ui/wk_web_view_configuration_provider.mm
|
| diff --git a/ios/web/web_state/ui/wk_web_view_configuration_provider.mm b/ios/web/web_state/ui/wk_web_view_configuration_provider.mm
|
| index 6191e6b19690546d9f3aa4590f0f0b96f1abb3a6..38e8137c777663d9982e1b4ee2bb53849e78a5a3 100644
|
| --- a/ios/web/web_state/ui/wk_web_view_configuration_provider.mm
|
| +++ b/ios/web/web_state/ui/wk_web_view_configuration_provider.mm
|
| @@ -58,8 +58,7 @@ WKWebViewConfigurationProvider::GetWebViewConfiguration() {
|
| DCHECK([NSThread isMainThread]);
|
| if (!configuration_) {
|
| configuration_.reset([[WKWebViewConfiguration alloc] init]);
|
| - if (is_off_the_record_ && base::ios::IsRunningOnIOS9OrLater()) {
|
| - // WKWebsiteDataStore is iOS9 only.
|
| + if (is_off_the_record_) {
|
| [configuration_
|
| setWebsiteDataStore:[WKWebsiteDataStore nonPersistentDataStore]];
|
| }
|
|
|