Index: third_party/WebKit/Source/web/WebDataSourceImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp |
index b0292e19c771735376235e3263e762ede15f2984..4be3221f61733cccf41ab1b43bd8c9c44124f0f8 100644 |
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp |
@@ -31,9 +31,11 @@ |
#include "web/WebDataSourceImpl.h" |
#include "core/dom/Document.h" |
+#include "public/platform/WebDocumentSubresourceFilter.h" |
#include "public/platform/WebURL.h" |
#include "public/platform/WebURLError.h" |
#include "public/platform/WebVector.h" |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -147,6 +149,11 @@ void WebDataSourceImpl::detachFromFrame() |
m_extraData.reset(); |
} |
+void WebDataSourceImpl::setSubresourceFilter(WebDocumentSubresourceFilter* subresourceFilter) |
+{ |
+ DocumentLoader::setSubresourceFilter(WTF::adoptPtr(subresourceFilter)); |
+} |
+ |
DEFINE_TRACE(WebDataSourceImpl) |
{ |
DocumentLoader::trace(visitor); |