Index: content/child/push_messaging/push_provider.cc |
diff --git a/content/child/push_messaging/push_provider.cc b/content/child/push_messaging/push_provider.cc |
index 19699140d79efcdb66cbefc89630c1e61853b33d..440ba3c34d97b535c76ebdb3d40699260c6dcab4 100644 |
--- a/content/child/push_messaging/push_provider.cc |
+++ b/content/child/push_messaging/push_provider.cc |
@@ -183,7 +183,7 @@ void PushProvider::OnSubscribeFromWorkerError(int request_id, |
blink::WebPushError::ErrorType error_type = |
status == PUSH_REGISTRATION_STATUS_PERMISSION_DENIED |
- ? blink::WebPushError::ErrorTypePermissionDenied |
+ ? blink::WebPushError::ErrorTypeNotAllowed |
: blink::WebPushError::ErrorTypeAbort; |
callbacks->onError(blink::WebPushError( |