Disable Badging API which is not supported (fixes issue #3005)
This commit is contained in:
parent
b579b37db4
commit
59a779c38a
|
@ -107,6 +107,7 @@
|
||||||
#include "third_party/blink/public/web/web_prerenderer_client.h"
|
#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_security_policy.h"
|
||||||
#include "third_party/blink/public/web/web_view.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"
|
#include "ui/base/l10n/l10n_util.h"
|
||||||
|
|
||||||
#if defined(OS_MAC)
|
#if defined(OS_MAC)
|
||||||
|
@ -363,6 +364,7 @@ void AlloyContentRendererClient::PostIOThreadCreated(
|
||||||
// TODO(cef): Enable these once the implementation supports it.
|
// TODO(cef): Enable these once the implementation supports it.
|
||||||
blink::WebRuntimeFeatures::EnableNotifications(false);
|
blink::WebRuntimeFeatures::EnableNotifications(false);
|
||||||
blink::WebRuntimeFeatures::EnablePushMessaging(false);
|
blink::WebRuntimeFeatures::EnablePushMessaging(false);
|
||||||
|
blink::RuntimeEnabledFeatures::SetBadgingEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AlloyContentRendererClient::RenderThreadStarted() {
|
void AlloyContentRendererClient::RenderThreadStarted() {
|
||||||
|
|
Loading…
Reference in New Issue