| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "modules/webgl/WebGLVertexArrayObject.h" | 7 #include "modules/webgl/WebGLVertexArrayObject.h" |
| 8 | 8 |
| 9 #include "modules/webgl/WebGLRenderingContextBase.h" | 9 #include "modules/webgl/WebGLRenderingContextBase.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 PassRefPtrWillBeRawPtr<WebGLVertexArrayObject> WebGLVertexArrayObject::create(We
bGLRenderingContextBase* ctx, VaoType type) | 13 WebGLVertexArrayObject* WebGLVertexArrayObject::create(WebGLRenderingContextBase
* ctx, VaoType type) |
| 14 { | 14 { |
| 15 return adoptRefWillBeNoop(new WebGLVertexArrayObject(ctx, type)); | 15 return new WebGLVertexArrayObject(ctx, type); |
| 16 } | 16 } |
| 17 | 17 |
| 18 WebGLVertexArrayObject::WebGLVertexArrayObject(WebGLRenderingContextBase* ctx, V
aoType type) | 18 WebGLVertexArrayObject::WebGLVertexArrayObject(WebGLRenderingContextBase* ctx, V
aoType type) |
| 19 : WebGLVertexArrayObjectBase(ctx, type) | 19 : WebGLVertexArrayObjectBase(ctx, type) |
| 20 { | 20 { |
| 21 } | 21 } |
| 22 | 22 |
| 23 } // namespace blink | 23 } // namespace blink |
| OLD | NEW |