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

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

Issue 2560473005: [wrapper-tracing] WebGLRenderingContextBase: Fix wrapper tracing (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index 9240884ee8718c62410b7b6dca462d0dcfef5044..7ea80ad0484aa98d78bfe695e090660ba34346fe 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -7676,9 +7676,7 @@ DEFINE_TRACE(WebGLRenderingContextBase) {
}
DEFINE_TRACE_WRAPPERS(WebGLRenderingContextBase) {
- if (isContextLost()) {
Michael Lippautz 2016/12/07 08:36:11 I need some help with proper semantics here: It is
- return;
- }
+ visitor->traceWrappers(m_contextGroup);
Michael Lippautz 2016/12/07 08:36:11 The context group is TraceWrapperBase which indica
haraken 2016/12/07 09:06:29 kbr@: Would you help me understand why we need to
Ken Russell (switch to Gerrit) 2016/12/07 09:22:37 WebGLRenderingContextBase strongly owns WebGLConte
visitor->traceWrappers(m_boundArrayBuffer);
visitor->traceWrappers(m_renderbufferBinding);
visitor->traceWrappers(m_framebufferBinding);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698