| 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);
|
|
|