Bug 318073 nsIProcess is not a service

patch by jason_barnabe@fastmail.fm r=mconnor


git-svn-id: svn://10.0.0.236/trunk@185375 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2005-11-29 16:40:17 +00:00
parent 916a43a789
commit b716d14885

View File

@@ -159,7 +159,7 @@ var gViewSourceUtils = {
// it's gotta be executable
if (viewSourceAppPath.exists() && viewSourceAppPath.isExecutable()) {
editor = Components.classes['@mozilla.org/process/util;1']
.getService(Components.interfaces.nsIProcess);
.createInstance(Components.interfaces.nsIProcess);
editor.init(viewSourceAppPath);
}
}