perf(Change Detection): Remove a useless test
Only "implicit receiver" records get their context updated (since #239)
This commit is contained in:
parent
7cb93fd59e
commit
2d2f44949d
|
@ -240,10 +240,8 @@ export class Record {
|
|||
|
||||
updateContext(value) {
|
||||
this.context = value;
|
||||
if (!this.isMarkerRecord) {
|
||||
this.recordRange.enableRecord(this);
|
||||
}
|
||||
}
|
||||
|
||||
get isMarkerRecord() {
|
||||
return this.type == RECORD_TYPE_MARKER;
|
||||
|
|
Loading…
Reference in New Issue