| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index b473d37d85bdde3c91ce85e52c3a209f52027059..e4e21e5f38fbfce797becce09acd7643582395c1 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -2183,4 +2183,11 @@ WebFrameWidgetImpl* WebLocalFrameImpl::frameWidget() const
|
| return m_frameWidget;
|
| }
|
|
|
| +WebSandboxFlags WebLocalFrameImpl::effectiveSandboxFlags() const
|
| +{
|
| + if (!frame())
|
| + return WebSandboxFlags::None;
|
| + return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags());
|
| +}
|
| +
|
| } // namespace blink
|
|
|