| Index: Source/core/frame/DOMWindow.cpp
|
| ===================================================================
|
| --- Source/core/frame/DOMWindow.cpp (revision 201159)
|
| +++ Source/core/frame/DOMWindow.cpp (working copy)
|
| @@ -137,7 +137,7 @@
|
|
|
| // FIXME: The name canAccess seems to be a roundabout way to ask "can execute script".
|
| // Can we name the SecurityOrigin function better to make this more clear?
|
| - if (callingWindow.frame()->securityContext()->securityOrigin()->canAccessCheckSuborigins(frame()->securityContext()->securityOrigin()))
|
| + if (callingWindow.document()->securityOrigin()->canAccessCheckSuborigins(frame()->securityContext()->securityOrigin()))
|
| return false;
|
| }
|
|
|
|
|