Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index 79ea52f3bce82f716d3d287390e0671ec36aa386..f6f7282700a3d7e231ceab522d4e11933f595723 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -28,6 +28,7 @@ static inline GrResourceCache* get_resource_cache(GrGpu* gpu) { |
GrGpuResource::GrGpuResource(GrGpu* gpu, bool isWrapped) |
: fGpu(gpu) |
, fCacheEntry(NULL) |
+ , fGpuMemorySize(kInvalidGpuMemorySize) |
, fUniqueID(CreateUniqueID()) |
, fScratchKey(GrResourceKey::NullScratchKey()) |
, fContentKeySet(false) { |