Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index e64339bacbee94581a63bd70b3cafedc3ae8120c..c1578b50ab597a7a969bedf17840a86d74f395ff 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -20,7 +20,8 @@ static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { |
} |
GrGpuResource::GrGpuResource(GrGpu* gpu) |
- : fGpu(gpu) |
+ : fExternalFlushCntWhenBecamePurgeable(0) |
+ , fGpu(gpu) |
, fGpuMemorySize(kInvalidGpuMemorySize) |
, fBudgeted(SkBudgeted::kNo) |
, fRefsWrappedObjects(false) |