Title: [87059] trunk/Source/WebCore
- Revision
- 87059
- Author
- [email protected]
- Date
- 2011-05-23 01:07:04 -0700 (Mon, 23 May 2011)
Log Message
2011-05-23 Syed Idris Shah <[email protected]>
Reviewed by Andreas Kling.
GraphicsContext3DInternal object should be called for getAttachedShaders.
[Qt] fast/canvas/webgl/gl-object-get-calls.html crash for Qt based webkit
https://bugs.webkit.org/show_bug.cgi?id=61202
LayoutTests/fast/canvas/webgl/gl-object-get-calls.html
getAttachedShaders should be called on GraphicsContext3DInternal instance.
It was left out by mistake.
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::getAttachedShaders): GraphicsContext3DInternal instance should be called.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (87058 => 87059)
--- trunk/Source/WebCore/ChangeLog 2011-05-23 08:02:05 UTC (rev 87058)
+++ trunk/Source/WebCore/ChangeLog 2011-05-23 08:07:04 UTC (rev 87059)
@@ -1,3 +1,19 @@
+2011-05-23 Syed Idris Shah <[email protected]>
+
+ Reviewed by Andreas Kling.
+
+ GraphicsContext3DInternal object should be called for getAttachedShaders.
+ [Qt] fast/canvas/webgl/gl-object-get-calls.html crash for Qt based webkit
+ https://bugs.webkit.org/show_bug.cgi?id=61202
+
+ LayoutTests/fast/canvas/webgl/gl-object-get-calls.html
+
+ getAttachedShaders should be called on GraphicsContext3DInternal instance.
+ It was left out by mistake.
+
+ * platform/graphics/qt/GraphicsContext3DQt.cpp:
+ (WebCore::GraphicsContext3D::getAttachedShaders): GraphicsContext3DInternal instance should be called.
+
2011-05-23 Carlos Garcia Campos <[email protected]>
Unreviewed. Strict PassOwnPtr build fix.
Modified: trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp (87058 => 87059)
--- trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp 2011-05-23 08:02:05 UTC (rev 87058)
+++ trunk/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp 2011-05-23 08:07:04 UTC (rev 87059)
@@ -772,7 +772,7 @@
}
m_internal->m_glWidget->makeCurrent();
- getAttachedShaders(program, maxCount, count, shaders);
+ m_internal->getAttachedShaders(program, maxCount, count, shaders);
}
void GraphicsContext3D::bindAttribLocation(Platform3DObject program, GC3Duint index, const String& name)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes