Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: Source/modules/webgl/WebGLVertexArrayObject.cpp

Issue 1234883002: [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698