Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 606780e9b9f80fb1271e49dee154f4944d050178..2f43443c53e210cc7b80effedd9cced05ce55a5a 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -2291,6 +2291,10 @@ void WebLocalFrameImpl::saveImageAt(const WebPoint& posInViewport) { |
m_client->saveImageFromDataURL(url); |
} |
+void WebLocalFrameImpl::setEngagementLevel(mojom::EngagementLevel level) { |
+ frame()->document()->setEngagementLevel(level); |
+} |
+ |
WebSandboxFlags WebLocalFrameImpl::effectiveSandboxFlags() const { |
if (!frame()) |
return WebSandboxFlags::None; |