Disable Badging API which is not supported (fixes issue #3005)

This commit is contained in:
Marshall Greenblatt 2020-09-02 15:06:45 -04:00
parent b579b37db4
commit 59a779c38a
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,7 @@
#include "third_party/blink/public/web/web_prerenderer_client.h"
#include "third_party/blink/public/web/web_security_policy.h"
#include "third_party/blink/public/web/web_view.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "ui/base/l10n/l10n_util.h"
#if defined(OS_MAC)
@ -363,6 +364,7 @@ void AlloyContentRendererClient::PostIOThreadCreated(
// TODO(cef): Enable these once the implementation supports it.
blink::WebRuntimeFeatures::EnableNotifications(false);
blink::WebRuntimeFeatures::EnablePushMessaging(false);
blink::RuntimeEnabledFeatures::SetBadgingEnabled(false);
}
void AlloyContentRendererClient::RenderThreadStarted() {