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:
jiayongqiang <jiayongqiang@xiaomi.com>
Loading
Please register or sign in to comment