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 9887dd87987013fc175e43088aac32a9681f2f31..2d6827d0632450c24374d220cc53ca9caa641015 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -2296,6 +2296,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; |