| Index: third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp b/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| index 470481807aa8b2e088ca2c6b2e2f45bf5c902a84..b4669d8ca6ea2d2373f3cc7aac998e199587d52e 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "bindings/core/v8/V8Node.h"
|
| #include "bindings/core/v8/V8PrivateProperty.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/dom/Node.h"
|
| #include "core/dom/NodeFilter.h"
|
| #include "core/frame/UseCounter.h"
|
| @@ -112,7 +113,7 @@ unsigned V8NodeFilterCondition::AcceptNode(
|
| v8::Local<v8::Value> result;
|
| v8::Local<v8::Value> args[] = {node_wrapper};
|
| if (!V8ScriptRunner::CallFunction(callback,
|
| - script_state_->GetExecutionContext(),
|
| + ExecutionContext::From(script_state_.Get()),
|
| receiver, 1, args, isolate)
|
| .ToLocal(&result)) {
|
| exception_state.RethrowV8Exception(exception_catcher.Exception());
|
|
|