Index: src/gpu/gl/GrGLIndexBuffer.h |
diff --git a/src/gpu/gl/GrGLIndexBuffer.h b/src/gpu/gl/GrGLIndexBuffer.h |
index a62bba1d51dec568fd43de1e1d00b6dcb2f9f0b9..0eb10bb662898c45e5674ed75b39973bfb4d4957 100644 |
--- a/src/gpu/gl/GrGLIndexBuffer.h |
+++ b/src/gpu/gl/GrGLIndexBuffer.h |
@@ -12,14 +12,14 @@ |
#include "GrGLBufferImpl.h" |
#include "gl/GrGLInterface.h" |
-class GrGpuGL; |
+class GrGLGpu; |
class GrGLIndexBuffer : public GrIndexBuffer { |
public: |
typedef GrGLBufferImpl::Desc Desc; |
- GrGLIndexBuffer(GrGpuGL* gpu, const Desc& desc); |
+ GrGLIndexBuffer(GrGLGpu* gpu, const Desc& desc); |
GrGLuint bufferID() const { return fImpl.bufferID(); } |
size_t baseOffset() const { return fImpl.baseOffset(); } |
@@ -39,9 +39,9 @@ private: |
virtual void onUnmap() SK_OVERRIDE; |
virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) SK_OVERRIDE; |
- GrGpuGL* getGpuGL() const { |
+ GrGLGpu* getGpuGL() const { |
SkASSERT(!this->wasDestroyed()); |
- return (GrGpuGL*)(this->getGpu()); |
+ return (GrGLGpu*)(this->getGpu()); |
} |
GrGLBufferImpl fImpl; |