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

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

Issue 2652923002: Devirtualize Visitor and remove inline visitor specialization. (Closed)
Patch Set: rebased Created 3 years, 11 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/platform/heap/BUILD.gn ('k') | third_party/WebKit/Source/platform/heap/Handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/GarbageCollected.h
diff --git a/third_party/WebKit/Source/platform/heap/GarbageCollected.h b/third_party/WebKit/Source/platform/heap/GarbageCollected.h
index 79a37b38130c12178c56e57777f76a41497ae823..eb6c3166de979c5cbe027b516b2758ab1b0d8096 100644
--- a/third_party/WebKit/Source/platform/heap/GarbageCollected.h
+++ b/third_party/WebKit/Source/platform/heap/GarbageCollected.h
@@ -14,7 +14,6 @@ namespace blink {
template <typename T>
class GarbageCollected;
-class InlinedGlobalMarkingVisitor;
class TraceWrapperBase;
// GC_PLUGIN_IGNORE is used to make the plugin ignore a particular class or
@@ -73,8 +72,6 @@ class PLATFORM_EXPORT GarbageCollectedMixin {
typedef int IsGarbageCollectedMixinMarker;
virtual void adjustAndMark(Visitor*) const = 0;
virtual void trace(Visitor*) {}
- virtual void adjustAndMark(InlinedGlobalMarkingVisitor) const = 0;
- virtual void trace(InlinedGlobalMarkingVisitor);
virtual bool isHeapObjectAlive() const = 0;
};
@@ -155,8 +152,6 @@ class PLATFORM_EXPORT GarbageCollectedMixin {
#define USING_GARBAGE_COLLECTED_MIXIN(TYPE) \
IS_GARBAGE_COLLECTED_TYPE(); \
DEFINE_GARBAGE_COLLECTED_MIXIN_METHODS(blink::Visitor*, TYPE) \
- DEFINE_GARBAGE_COLLECTED_MIXIN_METHODS(blink::InlinedGlobalMarkingVisitor, \
- TYPE) \
DEFINE_GARBAGE_COLLECTED_MIXIN_CONSTRUCTOR_MARKER(TYPE) \
public: \
bool isHeapObjectAlive() const override { \
« no previous file with comments | « third_party/WebKit/Source/platform/heap/BUILD.gn ('k') | third_party/WebKit/Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698