Commit 813e7ba2 authored by Brendan Long's avatar Brendan Long
Browse files

Fix crash in WebKitWebSource

parent fa8807fb
2014-08-21 Brendan Long <b.long@cablelabs.com>
[GStreamer] Fix double-ref of WebKitWebSource in StreamingClient
https://bugs.webkit.org/show_bug.cgi?id=136132
Reviewed by NOBODY (OOPS!).
* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(StreamingClient::StreamingClient):
2014-08-21 Zalan Bujtas <zalan@apple.com>
 
Enable SATURATED_LAYOUT_ARITHMETIC.
......@@ -773,7 +773,7 @@ bool webKitSrcPassedCORSAccessCheck(WebKitWebSrc* src)
}
StreamingClient::StreamingClient(WebKitWebSrc* src)
: m_src(adoptGRef(static_cast<GstElement*>(gst_object_ref(src))))
: m_src(reinterpret_cast<GstElement*>(src))
{
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment