| Index: third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp b/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
|
| index 9d4239f893156cd218df6926216d3ca698bb448b..e3bf7f5b87cc2ddfb8d8d0a73a9c138d20681b23 100644
|
| --- a/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "bindings/core/v8/V8AbstractEventListener.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/dom/Node.h"
|
| #include "core/dom/ProcessingInstruction.h"
|
| #include "core/events/Event.h"
|
| @@ -38,7 +39,7 @@ class DOMContentLoadedListener final
|
| DCHECK_EQ(event->type(), "DOMContentLoaded");
|
| ScriptState::Scope scope(script_state);
|
|
|
| - Document& document = *ToDocument(script_state->GetExecutionContext());
|
| + Document& document = *ToDocument(ExecutionContext::From(script_state));
|
| DCHECK(!document.Parsing());
|
|
|
| // Processing instruction (XML documents only).
|
|
|