| 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 2ef20332c7c0c9235a66901cc161996478c6a610..3370fad17f786507df5c1874479dcdeb2c71ad2b 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
|
| @@ -7,7 +7,6 @@
|
| #import <Foundation/Foundation.h>
|
| #import <WebKit/WebKit.h>
|
|
|
| -#include "base/ios/ios_util.h"
|
| #import "base/ios/weak_nsobject.h"
|
| #include "base/logging.h"
|
| #include "ios/web/public/browser_state.h"
|
| @@ -62,13 +61,6 @@ WKWebViewConfigurationProvider::GetWebViewConfiguration() {
|
| [configuration_
|
| setWebsiteDataStore:[WKWebsiteDataStore nonPersistentDataStore]];
|
| }
|
| -// TODO(crbug.com/620878) Remove these guards after moving to iOS10 SDK.
|
| -#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
|
| - if (base::ios::IsRunningOnIOS10OrLater()) {
|
| - [configuration_ setDataDetectorTypes:WKDataDetectorTypeCalendarEvent |
|
| - WKDataDetectorTypeFlightNumber];
|
| - }
|
| -#endif
|
| // API available on iOS 9, although doesn't appear to enable inline playback
|
| // Works as intended on iOS 10+
|
| [configuration_ setAllowsInlineMediaPlayback:YES];
|
|
|