Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 21bebcb041e8bc8c47de865def85b98031336cc7..b8c7d377d00520178804b12aff931c7c570fb461 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -191,6 +191,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kEnablePushMessagePayload)) |
WebRuntimeFeatures::enablePushMessagingData(true); |
+ if (command_line.HasSwitch(switches::kEnablePushMessagingHasPermission)) |
+ WebRuntimeFeatures::enablePushMessagingHasPermission(true); |
+ |
if (command_line.HasSwitch(switches::kDisableV8IdleTasks)) |
WebRuntimeFeatures::enableV8IdleTasks(false); |
else |