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 597f1565f4c0c2a081312eb3e4a61ad2f8671538..c8b88259c1ce2781b2a96b8390d49c85e3287fd9 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; |