Fabric: Fixed a bug in ShadowViewMutation constructor

Summary:
Clowntown.
This fixes a recent regression happened becasuse wrong order of parameters in ShadowViewMutation constructor.

Reviewed By: JoshuaGross

Differential Revision: D14329164

fbshipit-source-id: 5a0dc04b889fb3357050b951d56c3e436dbeefb1
This commit is contained in:
Valentin Shergin
2019-03-05 14:01:37 -08:00
committed by Facebook Github Bot
parent d48bd1759e
commit 393bf8aaad

View File

@@ -14,8 +14,8 @@ ShadowViewMutation ShadowViewMutation::CreateMutation(ShadowView shadowView) {
return {
/* .type = */ Create,
/* .parentShadowView = */ {},
/* .newChildShadowView = */ shadowView,
/* .oldChildShadowView = */ {},
/* .newChildShadowView = */ shadowView,
/* .index = */ -1,
};
}