Chromium Code Reviews| Index: Source/bindings/v8/V8DOMWrapper.cpp |
| diff --git a/Source/bindings/v8/V8DOMWrapper.cpp b/Source/bindings/v8/V8DOMWrapper.cpp |
| index 7efe6372bd188ba9e019f4e8b3055345d13e75eb..89005dfb2c41bdc98fa691015ae63c804622e7d2 100644 |
| --- a/Source/bindings/v8/V8DOMWrapper.cpp |
| +++ b/Source/bindings/v8/V8DOMWrapper.cpp |
| @@ -64,7 +64,11 @@ static v8::Local<v8::Object> wrapInShadowTemplate(v8::Local<v8::Object> wrapper, |
| if (shadow.IsEmpty()) |
| return v8::Local<v8::Object>(); |
| shadow->SetPrototype(wrapper); |
| +#if ENABLE(OILPAN) |
| + V8DOMWrapper::setNativeInfoWithPersistentHandle(wrapper, &V8HTMLDocument::wrapperTypeInfo, impl, new Persistent<Node>(impl)); |
|
haraken
2014/05/22 12:55:04
I'm not sure if this is right.
If you create a pe
Mads Ager (chromium)
2014/05/22 13:12:28
I have been the cause of confusion locally here. I
sof
2014/05/22 13:19:09
Having a pair of Persistents on the same object do
|
| +#else |
| V8DOMWrapper::setNativeInfo(wrapper, &V8HTMLDocument::wrapperTypeInfo, impl); |
| +#endif |
| return shadow; |
| } |