| Index: Source/core/frame/Frame.cpp
|
| diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
|
| index 16472d4bc65112bc8467e4d9f22f6cf0ca23ae03..4af97072c6393b341a793032660826eba5bdfd09 100644
|
| --- a/Source/core/frame/Frame.cpp
|
| +++ b/Source/core/frame/Frame.cpp
|
| @@ -199,6 +199,17 @@ bool Frame::isMainFrame() const
|
| return page && this == page->mainFrame();
|
| }
|
|
|
| +bool Frame::isLocalRoot() const
|
| +{
|
| + if (isRemoteFrame())
|
| + return false;
|
| +
|
| + if (!tree().parent())
|
| + return true;
|
| +
|
| + return tree().parent()->isRemoteFrame();
|
| +}
|
| +
|
| void Frame::disconnectOwnerElement()
|
| {
|
| if (m_owner) {
|
|
|