| Index: Source/core/fetch/Resource.cpp
|
| diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp
|
| index 9596f8da0db72e7c328ebfda839758ea3006b27b..c6727c17d73ca44eee6daba941e1f2de12277fb1 100644
|
| --- a/Source/core/fetch/Resource.cpp
|
| +++ b/Source/core/fetch/Resource.cpp
|
| @@ -274,15 +274,15 @@ void Resource::finish()
|
| m_status = Cached;
|
| }
|
|
|
| -bool Resource::passesAccessControlCheck(SecurityOrigin* securityOrigin)
|
| +bool Resource::passesAccessControlCheck(ExecutionContext* context, SecurityOrigin* securityOrigin)
|
| {
|
| String ignoredErrorDescription;
|
| - return passesAccessControlCheck(securityOrigin, ignoredErrorDescription);
|
| + return passesAccessControlCheck(context, securityOrigin, ignoredErrorDescription);
|
| }
|
|
|
| -bool Resource::passesAccessControlCheck(SecurityOrigin* securityOrigin, String& errorDescription)
|
| +bool Resource::passesAccessControlCheck(ExecutionContext* context, SecurityOrigin* securityOrigin, String& errorDescription)
|
| {
|
| - return blink::passesAccessControlCheck(m_response, resourceRequest().allowStoredCredentials() ? AllowStoredCredentials : DoNotAllowStoredCredentials, securityOrigin, errorDescription);
|
| + return blink::passesAccessControlCheck(context, m_response, resourceRequest().allowStoredCredentials() ? AllowStoredCredentials : DoNotAllowStoredCredentials, securityOrigin, errorDescription);
|
| }
|
|
|
| static double currentAge(const ResourceResponse& response, double responseTimestamp)
|
|
|