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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user