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

Unified Diff: tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp

Issue 374593002: Support ignorance of base class finalizers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use early returns instead of fallthrough Created 6 years, 5 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: tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp
diff --git a/tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp b/tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp
index 85e05b7aae765b466f6cd146dd1c76e874711a21..88ad4d5e33224cc02e95723051e7c2551d2f03de 100644
--- a/tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp
+++ b/tools/clang/blink_gc_plugin/tests/class_requires_finalization_base.cpp
@@ -16,4 +16,15 @@ void DoesNotNeedFinalizer::trace(Visitor* visitor)
A::trace(visitor);
}
+void GCedClassWithAScriptWrappableBase::trace(Visitor* visitor)
+{
+ A::trace(visitor);
+}
+
+void GCedClassWithAScriptWrappableAndAFinalizableBase::trace(Visitor* visitor)
+{
+ A::trace(visitor);
+ GCedClassWithAScriptWrappableBase::trace(visitor);
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698