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 bcea454f7557c90093ad816a74a70254c2bb3fc1..6ea89dcdc134408d74db62fd3ff23aeeb780cb8a 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -1594,8 +1594,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. |