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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp

Issue 2392313004: [wrapper-tracing] Add tracing to WebGLRenderingContextBase and friends (Closed)
Patch Set: Add WebGL2RenderingContextBase Created 4 years, 2 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: third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp b/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
index ddb7f92001e0a71519414203599143e72eed5860..a0c047befdbadad7e0ab7cd4f4850d8415e9b9a7 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp
@@ -162,4 +162,10 @@ DEFINE_TRACE(WebGLProgram) {
WebGLSharedPlatform3DObject::trace(visitor);
}
+DEFINE_TRACE_WRAPPERS(WebGLProgram) {
+ visitor->traceWrappers(m_vertexShader);
+ visitor->traceWrappers(m_fragmentShader);
+ WebGLSharedPlatform3DObject::traceWrappers(visitor);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698