Index: third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp b/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp |
index a0d74b0babff2c7814533d82f8060f3218953af4..9d8f1cb6acb12c0447c7b9591691c940cdf72d51 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp |
@@ -52,7 +52,7 @@ class RejectedPromises::Message final { |
// If execution termination has been triggered, quietly bail out. |
if (script_state_->GetIsolate()->IsExecutionTerminating()) |
return; |
- ExecutionContext* execution_context = script_state_->GetExecutionContext(); |
+ ExecutionContext* execution_context = ExecutionContext::From(script_state_); |
if (!execution_context) |
return; |
@@ -93,7 +93,7 @@ class RejectedPromises::Message final { |
} |
void Revoke() { |
- ExecutionContext* execution_context = script_state_->GetExecutionContext(); |
+ ExecutionContext* execution_context = ExecutionContext::From(script_state_); |
if (!execution_context) |
return; |