Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp

Issue 2671553003: Remove uses of VisitDOMWrapper (Closed)
Patch Set: Add DependentLifetime when removing Custom=VisitDOMWrapper Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 479d7113d19ea11db333c49b15538dc80ef9f29e..5c4aea890149d7a1f26b7771ce83ebb7da1c2b86 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MutationObserverCustom.cpp
@@ -70,18 +70,4 @@ void V8MutationObserver::constructorCustom(
info.GetIsolate(), observer, &wrapperTypeInfo, wrapper));
}
-void V8MutationObserver::visitDOMWrapperCustom(
- v8::Isolate* isolate,
- ScriptWrappable* scriptWrappable,
- const v8::Persistent<v8::Object>& wrapper) {
- MutationObserver* observer = scriptWrappable->toImpl<MutationObserver>();
- 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);
- }
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698