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

Unified Diff: tools/clang/blink_gc_plugin/RecordInfo.cpp

Issue 1932713002: Remove RefCountedGarbageCollected<> GC plugin handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/RecordInfo.cpp
diff --git a/tools/clang/blink_gc_plugin/RecordInfo.cpp b/tools/clang/blink_gc_plugin/RecordInfo.cpp
index 2f17234830a92d6916a2a9eebb752dd03c75b95a..f0e2ade715bb63255b5d0e34eaf54097de1c28b7 100644
--- a/tools/clang/blink_gc_plugin/RecordInfo.cpp
+++ b/tools/clang/blink_gc_plugin/RecordInfo.cpp
@@ -186,16 +186,6 @@ bool RecordInfo::IsEagerlyFinalized() {
return is_eagerly_finalized_;
}
-bool RecordInfo::IsGCRefCounted() {
- if (!IsGCDerived())
- return false;
- for (const auto& gc_base : gc_base_names_) {
- if (Config::IsGCRefCountedBase(gc_base))
- return true;
- }
- return false;
-}
-
bool RecordInfo::HasDefinition() {
return record_->hasDefinition();
}
« no previous file with comments | « tools/clang/blink_gc_plugin/RecordInfo.h ('k') | tools/clang/blink_gc_plugin/tests/ref_ptr_to_gc_managed_class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698