Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/RejectedPromises.cpp

Issue 2810743003: Move ScriptState::GetExecutionContext (Part 3) (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698