Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index d42f4248a7f0d7d4a4868373569775a3b51094b4..3e44f167353c80c8c712612dea2c9eb4f7ce956d 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -44,6 +44,7 @@ |
#include "core/editing/serializers/Serialization.h" |
#include "core/editing/spellcheck/SpellChecker.h" |
#include "core/events/Event.h" |
+#include "core/frame/ContentSettingsClient.h" |
#include "core/frame/EventHandlerRegistry.h" |
#include "core/frame/FrameConsole.h" |
#include "core/frame/FrameView.h" |
@@ -905,6 +906,10 @@ LocalFrameClient* LocalFrame::client() const { |
return static_cast<LocalFrameClient*>(Frame::client()); |
} |
+ContentSettingsClient* LocalFrame::contentSettingsClient() { |
+ return client() ? &client()->contentSettingsClient() : nullptr; |
+} |
+ |
PluginData* LocalFrame::pluginData() const { |
if (!loader().allowPlugins(NotAboutToInstantiatePlugin)) |
return nullptr; |