Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 8cd50ddd33bd8ba25df6683acea75fa94dfbd4d6..9ce9d5fbe83042e357226fa9a080cac37027c027 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -456,18 +456,18 @@ static void TestGetTexture(skiatest::Reporter* reporter, |
REPORTER_ASSERT(reporter, image->getTexture() == texture); |
} |
-#include "GrGpuResourceCacheAccess.h" |
+#include "GrGpuResourcePriv.h" |
#include "SkGpuDevice.h" |
#include "SkImage_Gpu.h" |
#include "SkSurface_Gpu.h" |
SkSurface::Budgeted is_budgeted(SkSurface* surf) { |
- return ((SkSurface_Gpu*)surf)->getDevice()->accessRenderTarget()->cacheAccess().isBudgeted() ? |
+ return ((SkSurface_Gpu*)surf)->getDevice()->accessRenderTarget()->resourcePriv().isBudgeted() ? |
SkSurface::kYes_Budgeted : SkSurface::kNo_Budgeted; |
} |
SkSurface::Budgeted is_budgeted(SkImage* image) { |
- return ((SkImage_Gpu*)image)->getTexture()->cacheAccess().isBudgeted() ? |
+ return ((SkImage_Gpu*)image)->getTexture()->resourcePriv().isBudgeted() ? |
SkSurface::kYes_Budgeted : SkSurface::kNo_Budgeted; |
} |