Title: [87725] trunk/Source/WebCore
- Revision
- 87725
- Author
- [email protected]
- Date
- 2011-05-31 06:46:13 -0700 (Tue, 31 May 2011)
Log Message
2011-05-31 Tommy Widenflycht <[email protected]>
Reviewed by Tony Gentilcore.
Fix getUserMedia callback bindings for JSC.
https://bugs.webkit.org/show_bug.cgi?id=60174
This patch initializes the exception code variable to 0.
Test: fast/dom/MediaStream/argument-types.html
* bindings/js/JSNavigatorCustom.cpp:
(WebCore::JSNavigator::webkitGetUserMedia):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (87724 => 87725)
--- trunk/Source/WebCore/ChangeLog 2011-05-31 13:32:46 UTC (rev 87724)
+++ trunk/Source/WebCore/ChangeLog 2011-05-31 13:46:13 UTC (rev 87725)
@@ -1,3 +1,17 @@
+2011-05-31 Tommy Widenflycht <[email protected]>
+
+ Reviewed by Tony Gentilcore.
+
+ Fix getUserMedia callback bindings for JSC.
+ https://bugs.webkit.org/show_bug.cgi?id=60174
+
+ This patch initializes the exception code variable to 0.
+
+ Test: fast/dom/MediaStream/argument-types.html
+
+ * bindings/js/JSNavigatorCustom.cpp:
+ (WebCore::JSNavigator::webkitGetUserMedia):
+
2011-05-31 Oleg Romashin <[email protected]>
Reviewed by Benjamin Poulain.
Modified: trunk/Source/WebCore/bindings/js/JSNavigatorCustom.cpp (87724 => 87725)
--- trunk/Source/WebCore/bindings/js/JSNavigatorCustom.cpp 2011-05-31 13:32:46 UTC (rev 87724)
+++ trunk/Source/WebCore/bindings/js/JSNavigatorCustom.cpp 2011-05-31 13:46:13 UTC (rev 87725)
@@ -50,7 +50,7 @@
if (exec->hadException())
return jsUndefined();
- ExceptionCode ec;
+ ExceptionCode ec = 0;
m_impl->webkitGetUserMedia(options, successCallback.release(), errorCallback.release(), ec);
if (ec)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes