Index: third_party/WebKit/Source/modules/fetch/Response.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp |
index 60220e0d67ca8238324508c8945e3f0e45e19208..75a1234553d4deb919e49e7e68bf3e0bbeba28b0 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Response.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Response.cpp |
@@ -108,7 +108,7 @@ bool isValidReasonPhrase(const String& statusText) |
Response* Response::create(ScriptState* scriptState, ExceptionState& exceptionState) |
{ |
- return create(scriptState->executionContext(), nullptr, String(), ResponseInit(), exceptionState); |
+ return create(scriptState->getExecutionContext(), nullptr, String(), ResponseInit(), exceptionState); |
} |
Response* Response::create(ScriptState* scriptState, ScriptValue bodyValue, const Dictionary& init, ExceptionState& exceptionState) |
@@ -116,7 +116,7 @@ Response* Response::create(ScriptState* scriptState, ScriptValue bodyValue, cons |
v8::Local<v8::Value> body = bodyValue.v8Value(); |
ScriptValue reader; |
v8::Isolate* isolate = scriptState->isolate(); |
- ExecutionContext* executionContext = scriptState->executionContext(); |
+ ExecutionContext* executionContext = scriptState->getExecutionContext(); |
OwnPtr<FetchDataConsumerHandle> bodyHandle; |
String contentType; |
@@ -353,15 +353,15 @@ Response* Response::clone(ExceptionState& exceptionState) |
return nullptr; |
} |
- FetchResponseData* response = m_response->clone(executionContext()); |
+ FetchResponseData* response = m_response->clone(getExecutionContext()); |
Headers* headers = Headers::create(response->headerList()); |
headers->setGuard(m_headers->getGuard()); |
- return new Response(executionContext(), response, headers); |
+ return new Response(getExecutionContext(), response, headers); |
} |
bool Response::hasPendingActivity() const |
{ |
- if (!executionContext() || executionContext()->activeDOMObjectsAreStopped()) |
+ if (!getExecutionContext() || getExecutionContext()->activeDOMObjectsAreStopped()) |
return false; |
if (!internalBodyBuffer()) |
return false; |