Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
index 23c0121c422682de09655ce209a4a58600b7aa4c..d9ba74a92923b7d49a49a8dcbc30782f75bac099 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -1596,8 +1596,8 @@ bool FrameLoader::shouldContinueForNavigationPolicy( |
if (parentFrame) { |
ContentSecurityPolicy* parentPolicy = |
parentFrame->securityContext()->contentSecurityPolicy(); |
- if (!parentPolicy->allowChildFrameFromSource(request.url(), |
- request.redirectStatus())) { |
+ if (!parentPolicy->allowFrameFromSource(request.url(), |
+ request.redirectStatus())) { |
// Fire a load event, as timing attacks would otherwise reveal that the |
// frame was blocked. This way, it looks like every other cross-origin |
// page load. |