diff options
Diffstat (limited to 'libs/hwui/tests/common/scenes/MagnifierAnimation.cpp')
-rw-r--r-- | libs/hwui/tests/common/scenes/MagnifierAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/common/scenes/MagnifierAnimation.cpp b/libs/hwui/tests/common/scenes/MagnifierAnimation.cpp index f6cff1c643a1..f4fce277454d 100644 --- a/libs/hwui/tests/common/scenes/MagnifierAnimation.cpp +++ b/libs/hwui/tests/common/scenes/MagnifierAnimation.cpp @@ -70,7 +70,7 @@ public: magnifier->getSkBitmap(&temp); constexpr int x = 90; constexpr int y = 325; - RenderProxy::copySurfaceInto(renderTarget, x, y, x + magnifier->width(), + RenderProxy::copySurfaceInto(renderTarget.get(), x, y, x + magnifier->width(), y + magnifier->height(), &temp); } } |