summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorAdlai Holler <adlai@google.com>2020-10-07 14:16:40 -0400
committerAdlai Holler <adlai@google.com>2020-10-07 22:20:44 +0000
commitd2345212d8f5cbe9193ca26ccce138342dca2fa6 (patch)
tree7f12e1a01c17cee5f95ecfa30e876cdfb99eddf2 /libs/hwui/renderthread/CacheManager.cpp
parent53d614ccf1d09350c93708a808dcdcada5a88e40 (diff)
Migrate some last instances of GrContext to GrDirectContext
This is a rename with no functional changes. Change-Id: I4b0b7ee1926b688029e257b35c469113c0404a5b
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
-rw-r--r--libs/hwui/renderthread/CacheManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CacheManager.cpp b/libs/hwui/renderthread/CacheManager.cpp
index b57dee4897ac..85924c5e8939 100644
--- a/libs/hwui/renderthread/CacheManager.cpp
+++ b/libs/hwui/renderthread/CacheManager.cpp
@@ -61,7 +61,7 @@ CacheManager::CacheManager()
SkGraphics::SetFontCacheLimit(mMaxCpuFontCacheBytes);
}
-void CacheManager::reset(sk_sp<GrContext> context) {
+void CacheManager::reset(sk_sp<GrDirectContext> context) {
if (context != mGrContext) {
destroy();
}