Index: third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp b/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp |
index efa091519c50eb43a82ac9bce65989e46b93b555..57cd983a9c733a5ebe3f3a88a767eea7a7af9543 100644 |
--- a/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp |
@@ -9,6 +9,7 @@ |
#include "core/dom/Element.h" |
#include "core/frame/FrameTestHelpers.h" |
+#include "core/frame/WebLocalFrameBase.h" |
#include "core/html/HTMLImageElement.h" |
#include "platform/testing/URLTestHelpers.h" |
#include "platform/testing/UnitTestHelpers.h" |
@@ -106,7 +107,9 @@ class WebDocumentSubresourceFilterTest : public ::testing::Test { |
} |
const std::string& BaseURL() const { return base_url_; } |
- WebFrame* MainFrame() { return web_view_helper_.WebView()->MainFrame(); } |
+ WebLocalFrameBase* MainFrame() { |
+ return web_view_helper_.WebView()->MainFrameImpl(); |
+ } |
const std::vector<std::string>& QueriedSubresourcePaths() const { |
return client_.SubresourceFilter()->QueriedSubresourcePaths(); |
} |