Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a45a054 authored by jiayongqiang's avatar jiayongqiang
Browse files

Remove redundant call in Layer's constructor.



'mDrawingState.crop.makeInvalid()' has been called twice in the
approach of Layer::Layer(const LayerCreationArgs& args), so remove
the second call.

Test: atest LayerSnapshotTest, LayerTest

Change-Id: I4cc40d9ec697ff20a1b71fa7aa50f09cef6c7afc
Signed-off-by: default avatarjiayongqiang <jiayongqiang@xiaomi.com>
parent 1a352b5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment