Index: Source/web/FrameLoaderClientImpl.cpp |
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp |
index 2913251b1fae28a3591d004907f57d34b1fdf65f..6fce26de7c35ba38f9fd5570eb9941fdce90d702 100644 |
--- a/Source/web/FrameLoaderClientImpl.cpp |
+++ b/Source/web/FrameLoaderClientImpl.cpp |
@@ -203,6 +203,14 @@ bool FrameLoaderClientImpl::allowImage(bool enabledPerSettings, const KURL& imag |
return enabledPerSettings; |
} |
+bool FrameLoaderClientImpl::allowMedia(const KURL& mediaURL) |
+{ |
+ if (m_webFrame->permissionClient()) |
+ return m_webFrame->permissionClient()->allowMedia(mediaURL); |
+ |
+ return true; |
+} |
+ |
bool FrameLoaderClientImpl::allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* context, const KURL& url) |
{ |
if (m_webFrame->permissionClient()) |