From 2b9a4cc6a6e5ed102b752de2890c4c13ddbf0fc5 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Fri, 7 Jun 2019 15:31:25 +0200 Subject: [PATCH] refactor(ivy): remove repeated getLView() calls (#30918) PR Close #30918 --- packages/core/src/render3/instructions/element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/render3/instructions/element.ts b/packages/core/src/render3/instructions/element.ts index 219831e4df..ff45081263 100644 --- a/packages/core/src/render3/instructions/element.ts +++ b/packages/core/src/render3/instructions/element.ts @@ -156,7 +156,7 @@ export function ɵɵelementEnd(): void { lView[QUERIES] = currentQueries.parent; } - registerPostOrderHooks(getLView()[TVIEW], previousOrParentTNode); + registerPostOrderHooks(lView[TVIEW], previousOrParentTNode); decreaseElementDepthCount(); // this is fired at the end of elementEnd because ALL of the stylingBindings code