diff options
author | Alec Mouri <alecmouri@google.com> | 2019-11-25 10:02:21 -0800 |
---|---|---|
committer | Alec Mouri <alecmouri@google.com> | 2020-01-30 18:26:41 -0800 |
commit | f023a323de7629a9ccd50685a55c70494f907c75 (patch) | |
tree | bbc2fcaf07334d7db569f5380b66e032ee669c01 /libs/hwui/renderthread/CanvasContext.h | |
parent | 5e6abe41065190502ad336a7295aa05f83e574ee (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.h | 2 |
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; |