summaryrefslogtreecommitdiff
path: root/libs/hwui/tests/common/scenes/MagnifierAnimation.cpp
diff options
context:
space:
mode:
authorAlec Mouri <alecmouri@google.com>2019-12-23 07:46:19 -0800
committerAlec Mouri <alecmouri@google.com>2020-02-14 15:24:16 -0800
commit43fe6fcde5cb2630a8d1ffa47d3e6e58e11999ae (patch)
tree212c6c6fa2959b3288a5031f5271048d10c8734a /libs/hwui/tests/common/scenes/MagnifierAnimation.cpp
parent112dfb3f1606b2033cdec7fc0b829d6cac31838e (diff)
[HWUI] Remove references to gui/Surface.
ANativeWindow usage now has enough feature parity so that we can use that instead. Bug: 137012798 Test: builds Test: Scroll through settings Change-Id: I0054315058b28bcb5e779a6f71a3cfb164625a5f
Diffstat (limited to 'libs/hwui/tests/common/scenes/MagnifierAnimation.cpp')
-rw-r--r--libs/hwui/tests/common/scenes/MagnifierAnimation.cpp2
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);
}
}