| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 7aa8eebb9b5cdd237da661a2254df764b3bf03eb..8ba797dd768ce28746d741f661f74586ba28f39b 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5585,7 +5585,7 @@ v8::Local<v8::Object> Document::associateWithWrapper(v8::Isolate* isolate, const
|
|
|
| bool Document::isPrivilegedContext(String& errorMessage, const PrivilegeContextCheck privilegeContextCheck) const
|
| {
|
| - if (securityContext().isSandboxed(SandboxOrigin)) {
|
| + if (SecurityContext::isSandboxed(SandboxOrigin)) {
|
| if (!SecurityOrigin::create(url())->isPotentiallyTrustworthy(errorMessage))
|
| return false;
|
| } else {
|
|
|