Title: [170272] trunk/Source/WebCore
- Revision
- 170272
- Author
- [email protected]
- Date
- 2014-06-22 17:13:49 -0700 (Sun, 22 Jun 2014)
Log Message
Attempted iOS build fix.
* platform/graphics/mac/GraphicsContext3DMac.mm:
(WebCore::GraphicsContext3D::~GraphicsContext3D): Cast to WebGLLayer.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (170271 => 170272)
--- trunk/Source/WebCore/ChangeLog 2014-06-23 00:00:03 UTC (rev 170271)
+++ trunk/Source/WebCore/ChangeLog 2014-06-23 00:13:49 UTC (rev 170272)
@@ -1,5 +1,12 @@
2014-06-22 Dean Jackson <[email protected]>
+ Attempted iOS build fix.
+
+ * platform/graphics/mac/GraphicsContext3DMac.mm:
+ (WebCore::GraphicsContext3D::~GraphicsContext3D): Cast to WebGLLayer.
+
+2014-06-22 Dean Jackson <[email protected]>
+
[Apple] WebGL layer may use GC3D after free with remote layer hosting
https://bugs.webkit.org/show_bug.cgi?id=134179
<rdar://problem/17412931>
Modified: trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm (170271 => 170272)
--- trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm 2014-06-23 00:00:03 UTC (rev 170271)
+++ trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm 2014-06-23 00:13:49 UTC (rev 170272)
@@ -332,7 +332,7 @@
CGLSetCurrentContext(0);
CGLDestroyContext(m_contextObj);
#endif
- [m_webGLLayer setContext:nullptr];
+ [static_cast<WebGLLayer*>(m_webGLLayer) setContext:nullptr];
numActiveContexts--;
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes