| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| index fa1e7514f3137996d010315fb8d3b8b01442d845..4ef905c5bea5b0c8330c054e14ffb277f1fc3332 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
|
| @@ -59,8 +59,8 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va
|
|
|
| v8::Local<v8::Object> wrapper = info.Holder();
|
|
|
| - OwnPtrWillBeRawPtr<MutationCallback> callback = V8MutationCallback::create(v8::Local<v8::Function>::Cast(arg), wrapper, ScriptState::current(info.GetIsolate()));
|
| - RefPtrWillBeRawPtr<MutationObserver> observer = MutationObserver::create(callback.release());
|
| + RawPtr<MutationCallback> callback = V8MutationCallback::create(v8::Local<v8::Function>::Cast(arg), wrapper, ScriptState::current(info.GetIsolate()));
|
| + RawPtr<MutationObserver> observer = MutationObserver::create(callback.release());
|
|
|
| v8SetReturnValue(info, V8DOMWrapper::associateObjectWithWrapper(info.GetIsolate(), observer.get(), &wrapperTypeInfo, wrapper));
|
| }
|
| @@ -68,8 +68,8 @@ void V8MutationObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Va
|
| void V8MutationObserver::visitDOMWrapper(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper)
|
| {
|
| MutationObserver* observer = scriptWrappable->toImpl<MutationObserver>();
|
| - WillBeHeapHashSet<RawPtrWillBeMember<Node>> observedNodes = observer->getObservedNodes();
|
| - for (WillBeHeapHashSet<RawPtrWillBeMember<Node>>::iterator it = observedNodes.begin(); it != observedNodes.end(); ++it) {
|
| + HeapHashSet<Member<Node>> observedNodes = observer->getObservedNodes();
|
| + for (HeapHashSet<Member<Node>>::iterator it = observedNodes.begin(); it != observedNodes.end(); ++it) {
|
| v8::UniqueId id(reinterpret_cast<intptr_t>(V8GCController::opaqueRootForGC(isolate, *it)));
|
| isolate->SetReferenceFromGroup(id, wrapper);
|
| }
|
|
|