diff --git a/content/canvas/src/WebGLContext.cpp b/content/canvas/src/WebGLContext.cpp index eff0c24e23bb..387a161a9d92 100644 --- a/content/canvas/src/WebGLContext.cpp +++ b/content/canvas/src/WebGLContext.cpp @@ -1311,6 +1311,7 @@ WebGLContext::UpdateContextLossStatus() void WebGLContext::ForceLoseContext() { + printf_stderr("WebGL(%p)::ForceLoseContext\n", this); MOZ_ASSERT(!IsContextLost()); mContextStatus = ContextLostAwaitingEvent; mContextLostErrorSet = false; @@ -1326,6 +1327,7 @@ WebGLContext::ForceLoseContext() void WebGLContext::ForceRestoreContext() { + printf_stderr("WebGL(%p)::ForceRestoreContext\n", this); mContextStatus = ContextLostAwaitingRestore; mAllowContextRestore = true; // Hey, you did say 'force'.