Index: Source/core/fetch/Resource.h |
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h |
index 8970621b787408aacfe49ebd9bbce29afe9a1114..afa856361f617afc0afda2f4b3fc4ff99af1d89f 100644 |
--- a/Source/core/fetch/Resource.h |
+++ b/Source/core/fetch/Resource.h |
@@ -40,6 +40,7 @@ |
namespace blink { |
+class ExecutionContext; |
struct FetchInitiatorInfo; |
class CachedMetadata; |
class ResourceClient; |
@@ -179,8 +180,8 @@ public: |
void finish(); |
// FIXME: Remove the stringless variant once all the callsites' error messages are updated. |
- bool passesAccessControlCheck(SecurityOrigin*); |
- bool passesAccessControlCheck(SecurityOrigin*, String& errorDescription); |
+ bool passesAccessControlCheck(ExecutionContext*, SecurityOrigin*); |
+ bool passesAccessControlCheck(ExecutionContext*, SecurityOrigin*, String& errorDescription); |
void clearLoader(); |