Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 133a366f40fb13492a983c4ff609c97067816e2a..86d533baa0cc4fa3677b7c675fe44fac1520b0ca 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -43,6 +43,8 @@ static void SetRuntimeFeatureDefaultsForPlatform() { |
WebRuntimeFeatures::enableNotifications(false); |
// Android does not yet support SharedWorker. crbug.com/154571 |
WebRuntimeFeatures::enableSharedWorker(false); |
+ // Android does not yet support NavigatorContentUtils. |
+ WebRuntimeFeatures::enableNavigatorContentUtils(false); |
#endif // defined(OS_ANDROID) |
} |
@@ -64,6 +66,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kDisableDesktopNotifications)) |
WebRuntimeFeatures::enableNotifications(false); |
+ if (command_line.HasSwitch(switches::kDisableNavigatorContentUtils)) |
+ WebRuntimeFeatures::enableNavigatorContentUtils(false); |
+ |
if (command_line.HasSwitch(switches::kDisableLocalStorage)) |
WebRuntimeFeatures::enableLocalStorage(false); |