| Index: third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h b/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
|
| index 96cd46bf16f20225dd202eb25c83698a5becb0ff..be7c1ebc591256931b20c4a88aa0255240ed1676 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.h
|
| @@ -9,6 +9,7 @@
|
| // handle. Call sites must check IsEmpty() before using return value.
|
|
|
| #include "bindings/core/v8/ToV8.h"
|
| +#include "bindings/core/v8/V8NodeFilterCondition.h"
|
| #include "core/dom/ArrayBufferViewHelpers.h"
|
| #include "v8/include/v8.h"
|
|
|
| @@ -30,6 +31,12 @@ inline v8::Local<v8::Value> ToV8(NotShared<T> value,
|
| return ToV8(value.View(), creation_context, isolate);
|
| }
|
|
|
| +inline v8::Local<v8::Value> ToV8(const V8NodeFilterCondition* value,
|
| + v8::Local<v8::Object> creation_context,
|
| + v8::Isolate* isolate) {
|
| + return value ? value->Callback(isolate) : v8::Null(isolate).As<v8::Value>();
|
| +}
|
| +
|
| } // namespace blink
|
|
|
| #endif // ToV8ForCore_h
|
|
|