Re-enable webusb api
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
/* Copyright (c) 2019 The Brave Authors. All rights reserved.
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
@@ -8,8 +9,11 @@
|
||||
BraveContentRendererClient::BraveContentRendererClient()
|
||||
: ChromeContentRendererClient() {}
|
||||
|
||||
void BraveContentRendererClient::SetRuntimeFeaturesDefaultsBeforeBlinkInitialization() {
|
||||
blink::WebRuntimeFeatures::EnableWebUsb(false);
|
||||
void BraveContentRendererClient::
|
||||
SetRuntimeFeaturesDefaultsBeforeBlinkInitialization() {
|
||||
ChromeContentRendererClient::
|
||||
SetRuntimeFeaturesDefaultsBeforeBlinkInitialization();
|
||||
|
||||
blink::WebRuntimeFeatures::EnableSharedArrayBuffer(false);
|
||||
}
|
||||
BraveContentRendererClient::~BraveContentRendererClient() = default;
|
||||
|
||||
Reference in New Issue
Block a user