| Index: Source/bindings/v8/BindingSecurity.cpp
|
| diff --git a/Source/bindings/v8/BindingSecurity.cpp b/Source/bindings/v8/BindingSecurity.cpp
|
| index fe806340443e94df3ed64136afa8a1edfa3a954e..56eb47dc69237a2b627792c7deb7c048ecbb7d6b 100644
|
| --- a/Source/bindings/v8/BindingSecurity.cpp
|
| +++ b/Source/bindings/v8/BindingSecurity.cpp
|
| @@ -91,7 +91,7 @@ bool BindingSecurity::shouldAllowAccessToFrame(Frame* target, ExceptionState& es
|
|
|
| bool BindingSecurity::shouldAllowAccessToNode(Node* target)
|
| {
|
| - return target && canAccessDocument(target->document());
|
| + return target && canAccessDocument(&target->document());
|
| }
|
|
|
| }
|
|
|