Differ: remove incorrect comment

Summary:
This is no longer true because of the "scope" mechanism.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D28018995

fbshipit-source-id: 91470234bb15f7feeb92b41613b0bbdbe42ccb27
This commit is contained in:
Joshua Gross 2021-04-27 09:37:13 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 7131791ab1
Коммит 121a84496c
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -937,8 +937,6 @@ static void calculateShadowViewMutationsFlattener(
else {
// Construct unvisited nodes map
auto unvisitedOldChildPairs = TinyMap<Tag, ShadowViewNodePair *>{};
// Memory note: these oldFlattenedNodes all disappear at the end
// of this "else" block, including any annotations we put on them.
auto oldFlattenedNodes =
sliceChildShadowNodeViewPairsFromViewNodePair(
oldTreeNodePair, scope, true);