зеркало из https://github.com/electron/electron.git
Replicate feature policy container policies.
https://codereview.chromium.org/2797813002
This commit is contained in:
Родитель
971002a197
Коммит
c402658c08
|
@ -401,6 +401,7 @@ class PrepareFrameAndViewForPrint : public blink::WebViewClient,
|
|||
const blink::WebString& name,
|
||||
const blink::WebString& unique_name,
|
||||
blink::WebSandboxFlags sandbox_flags,
|
||||
const blink::WebParsedFeaturePolicy& container_policy,
|
||||
const blink::WebFrameOwnerProperties& frame_owner_properties) override;
|
||||
|
||||
private:
|
||||
|
@ -555,6 +556,7 @@ blink::WebLocalFrame* PrepareFrameAndViewForPrint::CreateChildFrame(
|
|||
const blink::WebString& name,
|
||||
const blink::WebString& unique_name,
|
||||
blink::WebSandboxFlags sandbox_flags,
|
||||
const blink::WebParsedFeaturePolicy& container_policy,
|
||||
const blink::WebFrameOwnerProperties& frame_owner_properties) {
|
||||
blink::WebLocalFrame* frame = blink::WebLocalFrame::Create(
|
||||
scope, this, nullptr, nullptr);
|
||||
|
|
Загрузка…
Ссылка в новой задаче