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

Unified Diff: third_party/WebKit/Source/platform/heap/WrapperVisitor.h

Issue 2045453002: Refactor WrapperTypeInfo.traceWrappers to WrapperTypeInfo.getHeader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use nicer name Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/WrapperVisitor.h
diff --git a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
index 96142e2a3bc0c41dc76b53c4496b693583ecf134..0a2c2cf3023e32f84a5863697f28c377eb4c48be 100644
--- a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
+++ b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h
@@ -108,12 +108,6 @@ public:
virtual void traceWrappers(const ScopedPersistent<v8::Value>*) const = 0;
- template<typename T>
- bool markWrapperHeader(const T* object) const
- {
- return markWrapperHeader(object, object);
- }
-
virtual void dispatchTraceWrappers(const ScriptWrappable*) const = 0;
#define DECLARE_DISPATCH_TRACE_WRAPPERS(className) \
virtual void dispatchTraceWrappers(const className*) const = 0;
@@ -123,9 +117,8 @@ public:
#undef DECLARE_DISPATCH_TRACE_WRAPPERS
virtual void dispatchTraceWrappers(const void*) const = 0;
-protected:
- virtual bool markWrapperHeader(const ScriptWrappable*, const void*) const = 0;
- virtual bool markWrapperHeader(const void*, const void*) const = 0;
+ virtual bool markWrapperHeader(const ScriptWrappable*) const = 0;
+ virtual bool markWrapperHeader(const void*) const = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698