diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgl/webgl_vertex_array_object_oes.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webgl/webgl_vertex_array_object_oes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgl/webgl_vertex_array_object_oes.cc b/chromium/third_party/blink/renderer/modules/webgl/webgl_vertex_array_object_oes.cc index 77253eb90cc..34928eef020 100644 --- a/chromium/third_party/blink/renderer/modules/webgl/webgl_vertex_array_object_oes.cc +++ b/chromium/third_party/blink/renderer/modules/webgl/webgl_vertex_array_object_oes.cc @@ -32,7 +32,7 @@ namespace blink { WebGLVertexArrayObjectOES* WebGLVertexArrayObjectOES::Create( WebGLRenderingContextBase* ctx, VaoType type) { - return new WebGLVertexArrayObjectOES(ctx, type); + return MakeGarbageCollected<WebGLVertexArrayObjectOES>(ctx, type); } WebGLVertexArrayObjectOES::WebGLVertexArrayObjectOES( |