| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8CustomElementsRegistryCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomElementsRegistryCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomElementsRegistryCustom.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6a5c4c01b07c24f85f631baf680d7c7b16d1f9d9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomElementsRegistryCustom.cpp
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "bindings/core/v8/V8CustomElementsRegistry.h"
|
| +
|
| +#include "core/dom/custom/CustomElementsRegistry.h"
|
| +#include "v8.h"
|
| +
|
| +namespace blink {
|
| +
|
| +void V8CustomElementsRegistry::visitDOMWrapper(
|
| + v8::Isolate* isolate,
|
| + ScriptWrappable* wrappable,
|
| + const v8::Persistent<v8::Object>& wrapper)
|
| +{
|
| + CustomElementsRegistry* registry =
|
| + wrappable->toImpl<CustomElementsRegistry>();
|
| + registry->setWrapperReferences(isolate, wrapper);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|