summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CanvasContext.h
diff options
context:
space:
mode:
authorAlec Mouri <alecmouri@google.com>2019-11-25 10:02:21 -0800
committerAlec Mouri <alecmouri@google.com>2020-01-30 18:26:41 -0800
commitf023a323de7629a9ccd50685a55c70494f907c75 (patch)
treebbc2fcaf07334d7db569f5380b66e032ee669c01 /libs/hwui/renderthread/CanvasContext.h
parent5e6abe41065190502ad336a7295aa05f83e574ee (diff)
[HWUI] Use ANativeWindow inteception methods in ReliableSurface
Test: boots Test: manually test with opening and scrolling through settings app Change-Id: I8d7a44d3ead0b2350318e1514153e256f97ccca5
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.h')
-rw-r--r--libs/hwui/renderthread/CanvasContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h
index 4490f80eb8af..0967b20e44ee 100644
--- a/libs/hwui/renderthread/CanvasContext.h
+++ b/libs/hwui/renderthread/CanvasContext.h
@@ -220,7 +220,7 @@ private:
int32_t mLastFrameHeight = 0;
RenderThread& mRenderThread;
- sp<ReliableSurface> mNativeSurface;
+ std::unique_ptr<ReliableSurface> mNativeSurface;
// stopped indicates the CanvasContext will reject actual redraw operations,
// and defer repaint until it is un-stopped
bool mStopped = false;