| Index: third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| index 7fb4f48543c9c0dbd414bc9fa0eda454aadfe0e7..7c0ebf47293e8f389c8cd5c7a57b9fca819bd3e0 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp
|
| @@ -123,8 +123,10 @@ public:
|
| v8::Local<v8::Object> wrapper = v8::Local<v8::Object>::New(m_isolate, v8::Persistent<v8::Object>::Cast(*value));
|
| ASSERT(V8DOMWrapper::hasInternalFieldsSet(wrapper));
|
| const WrapperTypeInfo* type = toWrapperTypeInfo(wrapper);
|
| - if (type != npObjectTypeInfo() && toScriptWrappable(wrapper)->hasPendingActivity())
|
| + if (type != npObjectTypeInfo() && toScriptWrappable(wrapper)->hasPendingActivity()) {
|
| + v8::Persistent<v8::Object>::Cast(*value).MarkActive();
|
| return;
|
| + }
|
|
|
| if (classId == WrapperTypeInfo::NodeClassId) {
|
| ASSERT(V8Node::hasInstance(wrapper, m_isolate));
|
|
|