Index: src/gpu/gl/GrGLPath.h |
diff --git a/src/gpu/gl/GrGLPath.h b/src/gpu/gl/GrGLPath.h |
index 935a2e24ad090b641d54211f52b6b27cd644de25..b8bd8ad1a4ba0966ac4f65f750c9c256548883fe 100644 |
--- a/src/gpu/gl/GrGLPath.h |
+++ b/src/gpu/gl/GrGLPath.h |
@@ -30,15 +30,15 @@ public: |
GrGLPath(GrGpuGL* gpu, const SkPath& path, const SkStrokeRec& stroke); |
virtual ~GrGLPath(); |
GrGLuint pathID() const { return fPathID; } |
- // TODO: Figure out how to get an approximate size of the path in Gpu |
- // memory. |
- virtual size_t gpuMemorySize() const SK_OVERRIDE { return 100; } |
protected: |
virtual void onRelease() SK_OVERRIDE; |
virtual void onAbandon() SK_OVERRIDE; |
private: |
+ // TODO: Figure out how to get an approximate size of the path in Gpu memory. |
+ virtual size_t onGpuMemorySize() const SK_OVERRIDE { return 100; } |
+ |
GrGLuint fPathID; |
typedef GrPath INHERITED; |