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); |