| Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| index 41dbd23d306f571c20f7bf5f30639e0323032d70..e15cb46dd1f238c1c6a85e0123e9d61cd4ba4b3c 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| +++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| @@ -4144,7 +4144,7 @@ void WebGLRenderingContextBase::loseContextImpl(WebGLRenderingContextBase::LostC
|
|
|
| // Always defer the dispatch of the context lost event, to implement
|
| // the spec behavior of queueing a task.
|
| - m_dispatchContextLostEventTimer.startOneShot(0);
|
| + m_dispatchContextLostEventTimer.startOneShot(0, FROM_HERE);
|
| }
|
|
|
| void WebGLRenderingContextBase::forceRestoreContext()
|
| @@ -4161,7 +4161,7 @@ void WebGLRenderingContextBase::forceRestoreContext()
|
| }
|
|
|
| if (!m_restoreTimer.isActive())
|
| - m_restoreTimer.startOneShot(0);
|
| + m_restoreTimer.startOneShot(0, FROM_HERE);
|
| }
|
|
|
| blink::WebLayer* WebGLRenderingContextBase::platformLayer() const
|
| @@ -5309,7 +5309,7 @@ void WebGLRenderingContextBase::dispatchContextLostEvent(Timer<WebGLRenderingCon
|
| m_restoreAllowed = event->defaultPrevented();
|
| deactivateContext(this, m_contextLostMode != RealLostContext && m_restoreAllowed);
|
| if ((m_contextLostMode == RealLostContext || m_contextLostMode == AutoRecoverSyntheticLostContext) && m_restoreAllowed)
|
| - m_restoreTimer.startOneShot(0);
|
| + m_restoreTimer.startOneShot(0, FROM_HERE);
|
| }
|
|
|
| void WebGLRenderingContextBase::maybeRestoreContext(Timer<WebGLRenderingContextBase>*)
|
| @@ -5338,7 +5338,7 @@ void WebGLRenderingContextBase::maybeRestoreContext(Timer<WebGLRenderingContextB
|
| OwnPtr<blink::WebGraphicsContext3D> context = adoptPtr(blink::Platform::current()->createOffscreenGraphicsContext3D(attributes));
|
| if (!context) {
|
| if (m_contextLostMode == RealLostContext) {
|
| - m_restoreTimer.startOneShot(secondsBetweenRestoreAttempts);
|
| + m_restoreTimer.startOneShot(secondsBetweenRestoreAttempts, FROM_HERE);
|
| } else {
|
| // This likely shouldn't happen but is the best way to report it to the WebGL app.
|
| synthesizeGLError(GL_INVALID_OPERATION, "", "error restoring context");
|
|
|