| Index: Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfacePython2.cpp b/Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| index db791d8678c3d284bc6c3ee1354c9ce206b08825..68d1da150947ff2a40dfe21fc29bb74f8e278869 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfacePython2.cpp
|
| @@ -38,8 +38,10 @@
|
| #include "V8Interface2.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/V8DOMConfiguration.h"
|
| +#include "bindings/v8/V8GCController.h"
|
| #include "core/dom/ContextFeatures.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/dom/Element.h"
|
| #include "platform/TraceEvent.h"
|
|
|
| namespace WebCore {
|
| @@ -72,6 +74,16 @@ template <typename T> void V8_USE(T) { }
|
|
|
| } // namespace TestInterfacePython2V8Internal
|
|
|
| +void V8TestInterfacePython2::visitDOMWrapper(void* object, const v8::Persistent<v8::Object>& wrapper, v8::Isolate* isolate)
|
| +{
|
| + TestInterfacePython2* impl = fromInternalPointer(object);
|
| + if (Node* owner = impl->ownerNode()) {
|
| + setObjectGroup(V8GCController::opaqueRootForGC(owner, isolate), wrapper, isolate);
|
| + return;
|
| + }
|
| + setObjectGroup(object, wrapper, isolate);
|
| +}
|
| +
|
| static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfacePython2Template(v8::Handle<v8::FunctionTemplate> functionTemplate, v8::Isolate* isolate, WrapperWorldType currentWorldType)
|
| {
|
| functionTemplate->ReadOnlyPrototype();
|
|
|