@@ -45,17 +45,17 @@ class NodeFrame {
4545 updateBeforeNode ( node ) {
4646
4747 const updateType = node . getUpdateBeforeType ( ) ;
48- const reference = node . setReference ( this ) ;
48+ const reference = node . updateReference ( this ) ;
4949
5050 if ( updateType === NodeUpdateType . FRAME ) {
5151
5252 const { frameMap } = this . _getMaps ( this . updateBeforeMap , reference ) ;
5353
54- if ( frameMap . get ( node ) !== this . frameId ) {
54+ if ( frameMap . get ( reference ) !== this . frameId ) {
5555
5656 if ( node . updateBefore ( this ) !== false ) {
5757
58- frameMap . set ( node , this . frameId ) ;
58+ frameMap . set ( reference , this . frameId ) ;
5959
6060 }
6161
@@ -65,11 +65,11 @@ class NodeFrame {
6565
6666 const { renderMap } = this . _getMaps ( this . updateBeforeMap , reference ) ;
6767
68- if ( renderMap . get ( node ) !== this . renderId ) {
68+ if ( renderMap . get ( reference ) !== this . renderId ) {
6969
7070 if ( node . updateBefore ( this ) !== false ) {
7171
72- renderMap . set ( node , this . renderId ) ;
72+ renderMap . set ( reference , this . renderId ) ;
7373
7474 }
7575
@@ -86,17 +86,17 @@ class NodeFrame {
8686 updateNode ( node ) {
8787
8888 const updateType = node . getUpdateType ( ) ;
89- const reference = node . setReference ( this ) ;
89+ const reference = node . updateReference ( this ) ;
9090
9191 if ( updateType === NodeUpdateType . FRAME ) {
9292
9393 const { frameMap } = this . _getMaps ( this . updateMap , reference ) ;
9494
95- if ( frameMap . get ( node ) !== this . frameId ) {
95+ if ( frameMap . get ( reference ) !== this . frameId ) {
9696
9797 if ( node . update ( this ) !== false ) {
9898
99- frameMap . set ( node , this . frameId ) ;
99+ frameMap . set ( reference , this . frameId ) ;
100100
101101 }
102102
@@ -106,11 +106,11 @@ class NodeFrame {
106106
107107 const { renderMap } = this . _getMaps ( this . updateMap , reference ) ;
108108
109- if ( renderMap . get ( node ) !== this . renderId ) {
109+ if ( renderMap . get ( reference ) !== this . renderId ) {
110110
111111 if ( node . update ( this ) !== false ) {
112112
113- renderMap . set ( node , this . renderId ) ;
113+ renderMap . set ( reference , this . renderId ) ;
114114
115115 }
116116
0 commit comments