Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment