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,9 +240,7 @@ export class Record {
|
||||||
|
|
||||||
updateContext(value) {
|
updateContext(value) {
|
||||||
this.context = value;
|
this.context = value;
|
||||||
if (!this.isMarkerRecord) {
|
this.recordRange.enableRecord(this);
|
||||||
this.recordRange.enableRecord(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get isMarkerRecord() {
|
get isMarkerRecord() {
|
||||||
|
|
Loading…
Reference in New Issue