Skip to content

Commit

Permalink
Removes unused method argument
Browse files Browse the repository at this point in the history
Summary: Removes unused method argument

Differential Revision: D33403512

fbshipit-source-id: 8880222ed5d690a84f5f7aa361acc2d4c9fe3118
  • Loading branch information
adityasharat authored and facebook-github-bot committed Jan 4, 2022
1 parent bed6618 commit 8aecddf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions litho-core/src/main/java/com/facebook/litho/Layout.java
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ else if (isLayoutSpec(component)) {

// Check if cached layout can be used.
final @Nullable LithoLayoutResult cachedLayout =
consumeCachedLayout(
layoutStateContext, parentContext, component, holder, widthSpec, heightSpec);
consumeCachedLayout(layoutStateContext, component, holder, widthSpec, heightSpec);

if (cachedLayout != null) {
// Use the cached layout.
Expand Down Expand Up @@ -690,7 +689,6 @@ private static void applyDiffNodeToLayoutNode(
@Nullable
static LithoLayoutResult consumeCachedLayout(
final LayoutStateContext layoutStateContext,
final ComponentContext c,
final Component component,
final NestedTreeHolderResult holder,
final int widthSpec,
Expand Down

0 comments on commit 8aecddf

Please sign in to comment.