| Index: third_party/WebKit/Source/core/frame/Frame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| index c612285dae80ac046b85595dad481d8f8efafce1..a27137994bda60db108cfd11f68552773da71ce8 100644
|
| --- a/third_party/WebKit/Source/core/frame/Frame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| @@ -304,15 +304,6 @@ void Frame::didChangeVisibilityState()
|
| childFrames[i]->didChangeVisibilityState();
|
| }
|
|
|
| -bool Frame::canHaveSecureChild() const
|
| -{
|
| - for (const Frame* parent = this; parent; parent = parent->tree().parent()) {
|
| - if (!parent->securityContext()->getSecurityOrigin()->isPotentiallyTrustworthy())
|
| - return false;
|
| - }
|
| - return true;
|
| -}
|
| -
|
| Frame::Frame(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| : m_treeNode(this)
|
| , m_host(host)
|
|
|