| Index: trunk/Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp
 | 
| ===================================================================
 | 
| --- trunk/Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp	(revision 168480)
 | 
| +++ trunk/Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp	(working copy)
 | 
| @@ -49,7 +49,7 @@
 | 
|      case VaoTypeDefault:
 | 
|          break;
 | 
|      default:
 | 
| -        setObject(context()->webContext()->createVertexArrayOES());
 | 
| +        setObject(context()->webGraphicsContext3D()->createVertexArrayOES());
 | 
|          break;
 | 
|      }
 | 
|  }
 | 
| @@ -65,7 +65,7 @@
 | 
|      case VaoTypeDefault:
 | 
|          break;
 | 
|      default:
 | 
| -        context()->webContext()->deleteVertexArrayOES(object);
 | 
| +        context()->webGraphicsContext3D()->deleteVertexArrayOES(object);
 | 
|          break;
 | 
|      }
 | 
|  
 | 
| @@ -84,7 +84,7 @@
 | 
|      if (buffer)
 | 
|          buffer->onAttached();
 | 
|      if (m_boundElementArrayBuffer)
 | 
| -        m_boundElementArrayBuffer->onDetached(context()->webContext());
 | 
| +        m_boundElementArrayBuffer->onDetached(context()->webGraphicsContext3D());
 | 
|      m_boundElementArrayBuffer = buffer;
 | 
|  
 | 
|  }
 | 
| @@ -99,7 +99,7 @@
 | 
|      if (buffer)
 | 
|          buffer->onAttached();
 | 
|      if (state.bufferBinding)
 | 
| -        state.bufferBinding->onDetached(context()->webContext());
 | 
| +        state.bufferBinding->onDetached(context()->webGraphicsContext3D());
 | 
|  
 | 
|      state.bufferBinding = buffer;
 | 
|      state.bytesPerElement = bytesPerElement;
 | 
| @@ -114,14 +114,14 @@
 | 
|  void WebGLVertexArrayObjectOES::unbindBuffer(PassRefPtr<WebGLBuffer> buffer)
 | 
|  {
 | 
|      if (m_boundElementArrayBuffer == buffer) {
 | 
| -        m_boundElementArrayBuffer->onDetached(context()->webContext());
 | 
| +        m_boundElementArrayBuffer->onDetached(context()->webGraphicsContext3D());
 | 
|          m_boundElementArrayBuffer = nullptr;
 | 
|      }
 | 
|  
 | 
|      for (size_t i = 0; i < m_vertexAttribState.size(); ++i) {
 | 
|          VertexAttribState& state = m_vertexAttribState[i];
 | 
|          if (state.bufferBinding == buffer) {
 | 
| -            buffer->onDetached(context()->webContext());
 | 
| +            buffer->onDetached(context()->webGraphicsContext3D());
 | 
|              state.bufferBinding = nullptr;
 | 
|          }
 | 
|      }
 | 
| 
 |