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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h

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/WrapperTypeInfo.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
index 56c23b3d82983eb114c1daccfd2476a8b6d69e5d..0bd558b1bc2618161858b5bbc6e70856196ae7ae 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
@@ -180,15 +180,6 @@ struct WrapperTypeInfo {
EventTarget* toEventTarget(v8::Local<v8::Object>) const;
- void visitDOMWrapper(v8::Isolate* isolate,
- ScriptWrappable* scriptWrappable,
- const v8::Persistent<v8::Object>& wrapper) const {
- if (!visitDOMWrapperFunction)
- setObjectGroup(isolate, scriptWrappable, wrapper);
- else
- visitDOMWrapperFunction(isolate, scriptWrappable, wrapper);
- }
-
// This field must be the first member of the struct WrapperTypeInfo.
// See also static_assert() in .cpp file.
const gin::GinEmbedder ginEmbedder;
@@ -196,7 +187,6 @@ struct WrapperTypeInfo {
DomTemplateFunction domTemplateFunction;
const TraceFunction traceFunction;
const TraceWrappersFunction traceWrappersFunction;
- const ResolveWrapperReachabilityFunction visitDOMWrapperFunction;
PreparePrototypeAndInterfaceObjectFunction
preparePrototypeAndInterfaceObjectFunction;
const char* const interfaceName;

Powered by Google App Engine
This is Rietveld 408576698