Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / src / gpu / GrStencilBuffer.h
index 696ba83..86fef50 100644 (file)
 #define GrStencilBuffer_DEFINED
 
 #include "GrClipData.h"
-#include "GrGpuObject.h"
+#include "GrGpuResource.h"
 
 class GrRenderTarget;
 class GrResourceKey;
 
-class GrStencilBuffer : public GrGpuObject {
+class GrStencilBuffer : public GrGpuResource {
 public:
     SK_DECLARE_INST_COUNT(GrStencilBuffer);
 
@@ -54,7 +54,7 @@ public:
 
 protected:
     GrStencilBuffer(GrGpu* gpu, bool isWrapped, int width, int height, int bits, int sampleCnt)
-        : GrGpuObject(gpu, isWrapped)
+        : GrGpuResource(gpu, isWrapped)
         , fWidth(width)
         , fHeight(height)
         , fBits(bits)
@@ -74,7 +74,7 @@ private:
     SkIRect     fLastClipStackRect;
     SkIPoint    fLastClipSpaceOffset;
 
-    typedef GrGpuObject INHERITED;
+    typedef GrGpuResource INHERITED;
 };
 
 #endif