| Index: Source/core/dom/DocumentInit.cpp
|
| diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp
|
| index 0661e2fd236a2953d932c120f1ce8dfdb94f888e..e00ef9afb31065d23765fde458ed31969f3ca691 100644
|
| --- a/Source/core/dom/DocumentInit.cpp
|
| +++ b/Source/core/dom/DocumentInit.cpp
|
| @@ -104,7 +104,7 @@ LocalFrame* DocumentInit::frameForSecurityContext() const
|
| if (m_frame)
|
| return m_frame;
|
| if (m_importsController)
|
| - return m_importsController->frame();
|
| + return m_importsController->master()->frame();
|
| return 0;
|
| }
|
|
|
|
|