Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 6cef2510800d30d8ae5cc411ac3ae0ce69d8dd5e..212fb09926b66925f1b7191f274de3217925d9a7 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
+1// Copyright 2013 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -65,6 +65,7 @@ static void SetRuntimeFeatureDefaultsForPlatform() { |
#if !(defined OS_ANDROID || defined OS_CHROMEOS || defined OS_IOS) |
// Only Android, ChromeOS, and IOS support NetInfo right now. |
+ if (!command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures)) |
WebRuntimeFeatures::enableNetworkInformation(false); |
#endif |
} |