Index: content/shell/browser/layout_test/layout_test_message_filter.cc |
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc |
index fe7ddf46c0a5a2d96031b50ca07c29f723c96f02..eb835e0ded606aa24e95973875debbfcf21ae0c2 100644 |
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc |
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc |
@@ -171,6 +171,8 @@ void LayoutTestMessageFilter::OnSetPermission( |
type = PermissionType::PROTECTED_MEDIA_IDENTIFIER; |
} else if (name == "background-sync") { |
type = PermissionType::BACKGROUND_SYNC; |
+ } else if (name == "sensors") { |
+ type = PermissionType::SENSORS; |
} else { |
NOTREACHED(); |
type = PermissionType::NOTIFICATIONS; |