commit | d2345212d8f5cbe9193ca26ccce138342dca2fa6 | [log] [tgz] |
---|---|---|
author | Adlai Holler <adlai@google.com> | Wed Oct 07 14:16:40 2020 -0400 |
committer | Adlai Holler <adlai@google.com> | Wed Oct 07 22:20:44 2020 +0000 |
tree | 7f12e1a01c17cee5f95ecfa30e876cdfb99eddf2 | |
parent | 53d614ccf1d09350c93708a808dcdcada5a88e40 [diff] [blame] |
Migrate some last instances of GrContext to GrDirectContext This is a rename with no functional changes. Change-Id: I4b0b7ee1926b688029e257b35c469113c0404a5b
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp index b57dee4..85924c5 100644 --- a/libs/hwui/renderthread/CacheManager.cpp +++ b/libs/hwui/renderthread/CacheManager.cpp
@@ -61,7 +61,7 @@ SkGraphics::SetFontCacheLimit(mMaxCpuFontCacheBytes); } -void CacheManager::reset(sk_sp<GrContext> context) { +void CacheManager::reset(sk_sp<GrDirectContext> context) { if (context != mGrContext) { destroy(); }