author | Fabrice Desré <fabrice@mozilla.com> |
Sun, 20 Mar 2016 09:57:28 -0700 | |
changeset 289613 | 558a789116f264db1a27f73d73a6dd067ce207f0 |
parent 289563 | 2678b91f4165e884f043df42bcddc91f91d2bb69 |
child 289614 | e0ab3a8fa5a48be3100cb750feaa15f7074f75b8 |
push id | 30108 |
push user | cbook@mozilla.com |
push date | Tue, 22 Mar 2016 11:14:31 +0000 |
treeherder | mozilla-central@ea6298e1b4f7 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | khuey |
bugs | 1258034 |
milestone | 48.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/media/MediaPermissionGonk.cpp +++ b/dom/media/MediaPermissionGonk.cpp @@ -239,17 +239,17 @@ MediaPermissionRequest::Allow(JS::Handle { // check if JS object if (!aChoices.isObject()) { MOZ_ASSERT(false, "Not a correct format of PermissionChoice"); return NS_ERROR_INVALID_ARG; } // iterate through audio-capture and video-capture AutoJSAPI jsapi; - if (!jsapi.init(&aChoices.toObject())) { + if (!jsapi.Init(&aChoices.toObject())) { return NS_ERROR_UNEXPECTED; } JSContext* cx = jsapi.cx(); JS::Rooted<JSObject*> obj(cx, &aChoices.toObject()); JS::Rooted<JS::Value> v(cx); // get selected audio device name nsString audioDevice;