| 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 516a40a04daec50f420e1262ef2cff2d4a349202..3749594333c114bfa4a1895840a0712b10a9d813 100644
|
| --- a/tools/clang/blink_gc_plugin/RecordInfo.cpp
|
| +++ b/tools/clang/blink_gc_plugin/RecordInfo.cpp
|
| @@ -592,9 +592,9 @@
|
| return 0;
|
| }
|
|
|
| - if (type->isPointerType() || type->isReferenceType()) {
|
| + if (type->isPointerType()) {
|
| if (Edge* ptr = CreateEdge(type->getPointeeType().getTypePtrOrNull()))
|
| - return new RawPtr(ptr, false, type->isReferenceType());
|
| + return new RawPtr(ptr, false);
|
| return 0;
|
| }
|
|
|
| @@ -609,7 +609,7 @@
|
|
|
| if (Config::IsRawPtr(info->name()) && info->GetTemplateArgs(1, &args)) {
|
| if (Edge* ptr = CreateEdge(args[0]))
|
| - return new RawPtr(ptr, true, false);
|
| + return new RawPtr(ptr, true);
|
| return 0;
|
| }
|
|
|
|
|