Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Bug 1147921 - Let addon-sdk/source/lib/sdk/io/stream.js use STREAM tr…
Browse files Browse the repository at this point in the history
…ansport service instead r=erikvold
  • Loading branch information
mayhemer authored and erikvold committed Mar 27, 2015
1 parent 7f8fe0b commit e3caddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sdk/io/stream.js
Expand Up @@ -32,7 +32,7 @@ const InputStreamPump = CC("@mozilla.org/network/input-stream-pump;1",
const threadManager = Cc["@mozilla.org/thread-manager;1"].
getService(Ci.nsIThreadManager);

const eventTarget = Cc["@mozilla.org/network/socket-transport-service;1"].
const eventTarget = Cc["@mozilla.org/network/stream-transport-service;1"].
getService(Ci.nsIEventTarget);

let isFunction = value => typeof(value) === "function"
Expand Down

0 comments on commit e3caddf

Please sign in to comment.