| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 264c777b5c90bd53a68b1b00187f3fd207c960b9..c1c786eca0dfde7ca062dae9d6617c1ec4d49d36 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -3276,11 +3276,11 @@ void Element::trace(Visitor* visitor)
|
| v8::Handle<v8::Object> Element::wrap(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| if (isCustomElement())
|
| - return wrapCustomElement(creationContext, isolate);
|
| + return wrapCustomElement(isolate, creationContext);
|
| return ContainerNode::wrap(creationContext, isolate);
|
| }
|
|
|
| -v8::Handle<v8::Object> Element::wrapCustomElement(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +v8::Handle<v8::Object> Element::wrapCustomElement(v8::Isolate* isolate, v8::Handle<v8::Object> creationContext)
|
| {
|
| // It's possible that no one except for the new wrapper owns this object at
|
| // this moment, so we have to prevent GC to collect this object until the
|
|
|