| Index: Source/core/loader/FrameLoader.cpp
 | 
| diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
 | 
| index 03a988189bcfd302f5f3a83228627767d21945bb..0c218bcf5a772cdf7ff1766a733cac77091ea9c6 100644
 | 
| --- a/Source/core/loader/FrameLoader.cpp
 | 
| +++ b/Source/core/loader/FrameLoader.cpp
 | 
| @@ -1415,4 +1415,18 @@ SecurityContext::InsecureRequestsPolicy FrameLoader::insecureRequestsPolicy() co
 | 
|      return toLocalFrame(parentFrame)->document()->insecureRequestsPolicy();
 | 
|  }
 | 
|  
 | 
| +SecurityContext::InsecureNavigationsSet* FrameLoader::insecureNavigationsToUpgrade() const
 | 
| +{
 | 
| +    Frame* parentFrame = m_frame->tree().parent();
 | 
| +    if (!parentFrame)
 | 
| +        return nullptr;
 | 
| +
 | 
| +    // FIXME: We need a way to propagate insecure requests policy flags to
 | 
| +    // out-of-process frames. For now, we'll always use default behavior.
 | 
| +    if (!parentFrame->isLocalFrame())
 | 
| +        return nullptr;
 | 
| +
 | 
| +    return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade();
 | 
| +}
 | 
| +
 | 
|  } // namespace blink
 | 
| 
 |