Changeset 87725 in webkit


Ignore:
Timestamp:
May 31, 2011 6:46:13 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-31 Tommy Widenflycht <tommyw@google.com>

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):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r87723 r87725  
     12011-05-31  Tommy Widenflycht  <tommyw@google.com>
     2
     3        Reviewed by Tony Gentilcore.
     4
     5        Fix getUserMedia callback bindings for JSC.
     6        https://bugs.webkit.org/show_bug.cgi?id=60174
     7
     8        This patch initializes the exception code variable to 0.
     9
     10        Test: fast/dom/MediaStream/argument-types.html
     11
     12        * bindings/js/JSNavigatorCustom.cpp:
     13        (WebCore::JSNavigator::webkitGetUserMedia):
     14
    1152011-05-31  Oleg Romashin  <oleg.romashin@nokia.com>
    216
  • trunk/Source/WebCore/bindings/js/JSNavigatorCustom.cpp

    r86055 r87725  
    5151        return jsUndefined();
    5252
    53     ExceptionCode ec;
     53    ExceptionCode ec = 0;
    5454    m_impl->webkitGetUserMedia(options, successCallback.release(), errorCallback.release(), ec);
    5555
Note: See TracChangeset for help on using the changeset viewer.