Remove unused errorMessage reference

This commit is contained in:
Kevin Sawicki 2016-01-19 11:02:12 -08:00
parent c719b252cb
commit 517dce443b
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ desktopCapturer.emit = function(event, name, sources) {
request = requestsQueue[i];
if (deepEqual(handledRequest.options, request.options)) {
if ((ref1 = request.webContents) != null) {
ref1.send("ATOM_RENDERER_DESKTOP_CAPTURER_RESULT_" + request.id, errorMessage, result);
ref1.send("ATOM_RENDERER_DESKTOP_CAPTURER_RESULT_" + request.id, result);
}
} else {
unhandledRequestsQueue.push(request);