| Index: Source/core/html/canvas/OESVertexArrayObject.cpp
|
| diff --git a/Source/core/html/canvas/OESVertexArrayObject.cpp b/Source/core/html/canvas/OESVertexArrayObject.cpp
|
| index 5e592238f723d3173331b15411213b08d3b536af..fdbd481ffb3ee8c227c29001943f26e92be842e8 100644
|
| --- a/Source/core/html/canvas/OESVertexArrayObject.cpp
|
| +++ b/Source/core/html/canvas/OESVertexArrayObject.cpp
|
| @@ -28,13 +28,13 @@
|
| #include "core/html/canvas/OESVertexArrayObject.h"
|
|
|
| #include "bindings/v8/ExceptionState.h"
|
| -#include "core/html/canvas/WebGLRenderingContext.h"
|
| +#include "core/html/canvas/WebGLRenderingContextBase.h"
|
| #include "core/html/canvas/WebGLVertexArrayObjectOES.h"
|
| #include "core/platform/graphics/Extensions3D.h"
|
|
|
| namespace WebCore {
|
|
|
| -OESVertexArrayObject::OESVertexArrayObject(WebGLRenderingContext* context)
|
| +OESVertexArrayObject::OESVertexArrayObject(WebGLRenderingContextBase* context)
|
| : WebGLExtension(context)
|
| {
|
| ScriptWrappable::init(this);
|
| @@ -50,7 +50,7 @@ WebGLExtension::ExtensionName OESVertexArrayObject::getName() const
|
| return OESVertexArrayObjectName;
|
| }
|
|
|
| -PassRefPtr<OESVertexArrayObject> OESVertexArrayObject::create(WebGLRenderingContext* context)
|
| +PassRefPtr<OESVertexArrayObject> OESVertexArrayObject::create(WebGLRenderingContextBase* context)
|
| {
|
| return adoptRef(new OESVertexArrayObject(context));
|
| }
|
| @@ -110,7 +110,7 @@ void OESVertexArrayObject::bindVertexArrayOES(WebGLVertexArrayObjectOES* arrayOb
|
| }
|
| }
|
|
|
| -bool OESVertexArrayObject::supported(WebGLRenderingContext* context)
|
| +bool OESVertexArrayObject::supported(WebGLRenderingContextBase* context)
|
| {
|
| Extensions3D* extensions = context->graphicsContext3D()->getExtensions();
|
| return extensions->supports("GL_OES_vertex_array_object");
|
|
|