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