| Index: third_party/WebKit/Source/core/css/FontFace.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp
|
| index 01fca723b68b397540dabd669ffa03ebfa113754..8070741a84e694f257b7d6089815b55effadb16c 100644
|
| --- a/third_party/WebKit/Source/core/css/FontFace.cpp
|
| +++ b/third_party/WebKit/Source/core/css/FontFace.cpp
|
| @@ -53,6 +53,7 @@
|
| #include "core/dom/DOMException.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/dom/StyleEngine.h"
|
| #include "core/dom/TaskRunnerHelper.h"
|
| #include "core/frame/LocalFrame.h"
|
| @@ -415,7 +416,7 @@ void FontFace::SetError(DOMException* error) {
|
|
|
| ScriptPromise FontFace::FontStatusPromise(ScriptState* script_state) {
|
| if (!loaded_property_) {
|
| - loaded_property_ = new LoadedProperty(script_state->GetExecutionContext(),
|
| + loaded_property_ = new LoadedProperty(ExecutionContext::From(script_state),
|
| this, LoadedProperty::kLoaded);
|
| if (status_ == kLoaded)
|
| loaded_property_->Resolve(this);
|
|
|