Index: content/shell/browser/layout_test/layout_test_notification_manager.cc |
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc |
index 82cc07df3232a4b5e2a970097cee7f626ae50777..9380238e89f5bf8c5feecb3695a01fed93879805 100644 |
--- a/content/shell/browser/layout_test/layout_test_notification_manager.cc |
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc |
@@ -26,11 +26,11 @@ void OnEventDispatchComplete(PersistentNotificationStatus status) {} |
blink::WebNotificationPermission ToWebNotificationPermission( |
PermissionStatus status) { |
switch (status) { |
- case PERMISSION_STATUS_GRANTED: |
+ case PermissionStatus::GRANTED: |
return blink::WebNotificationPermissionAllowed; |
- case PERMISSION_STATUS_DENIED: |
+ case PermissionStatus::DENIED: |
return blink::WebNotificationPermissionDenied; |
- case PERMISSION_STATUS_ASK: |
+ case PermissionStatus::ASK: |
return blink::WebNotificationPermissionDefault; |
} |