commit | 407aa584d183c1bf314f5defd1cf0202e8a96c89 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Fri Nov 14 06:29:40 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Nov 14 06:29:40 2014 -0800 |
tree | 9d2ba6989a9e0c86281337c5243c060ad4544e8d | |
parent | 5ae776504fce25d320054390556526403068f103 [diff] [blame] |
Replace GrResourceCache with GrResourceCache2. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6 Review URL: https://codereview.chromium.org/716143004
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp index 611059a..5286984 100644 --- a/src/gpu/GrTest.cpp +++ b/src/gpu/GrTest.cpp
@@ -9,7 +9,7 @@ #include "GrTest.h" #include "GrInOrderDrawBuffer.h" -#include "GrResourceCache.h" +#include "GrResourceCache2.h" void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target) { SkASSERT(!fContext); @@ -38,7 +38,7 @@ } void GrContext::purgeAllUnlockedResources() { - fResourceCache->purgeAllUnlocked(); + fResourceCache2->purgeAllUnlocked(); } ///////////////////////////////////////////////////////////////////////////////