| Index: third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
|
| index 833e71552f61e8592ac584e8e784ac0461c1e075..ed7b505050881a420759e99329d2f0239ce5e475 100644
|
| --- a/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/modules/worklet/WorkletGlobalScope.cpp
|
| @@ -63,9 +63,9 @@ bool WorkletGlobalScope::isSecureContext(String& errorMessage, const SecureConte
|
| // Until there are APIs that are available in worklets and that
|
| // require a privileged context test that checks ancestors, just do
|
| // a simple check here.
|
| - if (securityOrigin()->isPotentiallyTrustworthy())
|
| + if (getSecurityOrigin()->isPotentiallyTrustworthy())
|
| return true;
|
| - errorMessage = securityOrigin()->isPotentiallyTrustworthyErrorMessage();
|
| + errorMessage = getSecurityOrigin()->isPotentiallyTrustworthyErrorMessage();
|
| return false;
|
| }
|
|
|
|
|