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

Unified Diff: Source/core/html/canvas/WebGLRenderingContextBase.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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
index 3de08d1445242326ec3ca22629d8aa0b7cf1ed36..1248f48f3cbd7e6a73d76018b2154842243db526 100644
--- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
@@ -513,7 +513,7 @@ public:
virtual void onContextLost() { m_context->forceLostContext(WebGLRenderingContextBase::RealLostContext, WebGLRenderingContextBase::Auto); }
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(m_context);
}
@@ -542,7 +542,7 @@ public:
InspectorInstrumentation::didFireWebGLErrorOrWarning(m_context->canvas(), message);
}
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(m_context);
}
@@ -5943,13 +5943,13 @@ void WebGLRenderingContextBase::findNewMaxNonDefaultTextureUnit()
m_onePlusMaxNonDefaultTextureUnit = 0;
}
-void WebGLRenderingContextBase::TextureUnitState::trace(Visitor* visitor)
+DEFINE_TRACE(WebGLRenderingContextBase::TextureUnitState)
{
visitor->trace(m_texture2DBinding);
visitor->trace(m_textureCubeMapBinding);
}
-void WebGLRenderingContextBase::trace(Visitor* visitor)
+DEFINE_TRACE(WebGLRenderingContextBase)
{
#if ENABLE(OILPAN)
visitor->trace(m_contextObjects);
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.h ('k') | Source/core/html/canvas/WebGLShaderPrecisionFormat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698