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

Side by Side Diff: Source/core/html/canvas/WebGL2RenderingContext.cpp

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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 #include "core/html/canvas/WebGL2RenderingContext.h" 6 #include "core/html/canvas/WebGL2RenderingContext.h"
7 7
8 #include "core/frame/LocalFrame.h" 8 #include "core/frame/LocalFrame.h"
9 #include "core/frame/Settings.h" 9 #include "core/frame/Settings.h"
10 #include "core/html/canvas/ContextAttributeHelpers.h" 10 #include "core/html/canvas/ContextAttributeHelpers.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 } 61 }
62 62
63 void WebGL2RenderingContext::registerContextExtensions() 63 void WebGL2RenderingContext::registerContextExtensions()
64 { 64 {
65 // Register privileged extensions. 65 // Register privileged extensions.
66 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo); 66 registerExtension<WebGLDebugRendererInfo>(m_webglDebugRendererInfo);
67 registerExtension<WebGLDebugShaders>(m_webglDebugShaders); 67 registerExtension<WebGLDebugShaders>(m_webglDebugShaders);
68 } 68 }
69 69
70 void WebGL2RenderingContext::trace(Visitor* visitor) 70 DEFINE_TRACE(WebGL2RenderingContext)
71 { 71 {
72 visitor->trace(m_webglDebugRendererInfo); 72 visitor->trace(m_webglDebugRendererInfo);
73 visitor->trace(m_webglDebugShaders); 73 visitor->trace(m_webglDebugShaders);
74 WebGL2RenderingContextBase::trace(visitor); 74 WebGL2RenderingContextBase::trace(visitor);
75 } 75 }
76 76
77 } // namespace blink 77 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGL2RenderingContext.h ('k') | Source/core/html/canvas/WebGL2RenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698