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 57cd983a9c733a5ebe3f3a88a767eea7a7af9543..e64863d353b0a5828205226413bdf0b35a83321b 100644 |
--- a/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp |
@@ -107,9 +107,7 @@ class WebDocumentSubresourceFilterTest : public ::testing::Test { |
} |
const std::string& BaseURL() const { return base_url_; } |
- WebLocalFrameBase* MainFrame() { |
- return web_view_helper_.WebView()->MainFrameImpl(); |
- } |
+ WebLocalFrameBase* MainFrame() { return web_view_helper_.LocalMainFrame(); } |
const std::vector<std::string>& QueriedSubresourcePaths() const { |
return client_.SubresourceFilter()->QueriedSubresourcePaths(); |
} |