Title: [164752] trunk/Source/WebCore
- Revision
- 164752
- Author
- d...@apple.com
- Date
- 2014-02-26 15:14:07 -0800 (Wed, 26 Feb 2014)
Log Message
[WebGL] Only skip context error retrieval if a pending context
https://bugs.webkit.org/show_bug.cgi?id=129397
Reviewed by Tim Horton.
A lost context should still ask the GC3D what the error is. Only
a pending context should return early.
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::getError):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (164751 => 164752)
--- trunk/Source/WebCore/ChangeLog 2014-02-26 23:01:15 UTC (rev 164751)
+++ trunk/Source/WebCore/ChangeLog 2014-02-26 23:14:07 UTC (rev 164752)
@@ -1,3 +1,16 @@
+2014-02-26 Dean Jackson <d...@apple.com>
+
+ [WebGL] Only skip context error retrieval if a pending context
+ https://bugs.webkit.org/show_bug.cgi?id=129397
+
+ Reviewed by Tim Horton.
+
+ A lost context should still ask the GC3D what the error is. Only
+ a pending context should return early.
+
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getError):
+
2014-02-26 Brian Burg <bb...@apple.com>
Web Replay: route through UserInputBridge when delivering user inputs to WebCore
Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp (164751 => 164752)
--- trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp 2014-02-26 23:01:15 UTC (rev 164751)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp 2014-02-26 23:14:07 UTC (rev 164752)
@@ -2386,7 +2386,7 @@
GC3Denum WebGLRenderingContext::getError()
{
- if (isContextLostOrPending())
+ if (m_isPendingPolicyResolution)
return GraphicsContext3D::NO_ERROR;
return m_context->getError();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes