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

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

Issue 1895943002: Update Blink GC plugin to reflect that Oilpan is now always enabled. (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 b4937abd20f55a45757302c9d7f007d25de733e2..2f17234830a92d6916a2a9eebb752dd03c75b95a 100644
--- a/tools/clang/blink_gc_plugin/RecordInfo.cpp
+++ b/tools/clang/blink_gc_plugin/RecordInfo.cpp
@@ -584,7 +584,7 @@ Edge* RecordInfo::CreateEdge(const Type* type) {
if (type->isPointerType() || type->isReferenceType()) {
if (Edge* ptr = CreateEdge(type->getPointeeType().getTypePtrOrNull()))
- return new RawPtr(ptr, false, type->isReferenceType());
+ return new RawPtr(ptr, type->isReferenceType());
return 0;
}
@@ -597,12 +597,6 @@ Edge* RecordInfo::CreateEdge(const Type* type) {
TemplateArgs args;
- if (Config::IsRawPtr(info->name()) && info->GetTemplateArgs(1, &args)) {
- if (Edge* ptr = CreateEdge(args[0]))
- return new RawPtr(ptr, true, false);
- return 0;
- }
-
if (Config::IsRefPtr(info->name()) && info->GetTemplateArgs(1, &args)) {
if (Edge* ptr = CreateEdge(args[0]))
return new RefPtr(ptr);

Powered by Google App Engine
This is Rietveld 408576698