Bug 1232630 - Rename C and I to Cc and Ci in profileSelection.js, r=ehsan

This commit is contained in:
Andrea Marchesini 2015-12-17 15:39:33 +00:00
Родитель 1d9e5fddae
Коммит d4f6a558a6
1 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -4,11 +4,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Components.utils.import("resource://gre/modules/AppConstants.jsm");
Components.utils.import("resource://gre/modules/Services.jsm");
const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
const C = Components.classes;
const I = Components.interfaces;
Cu.import("resource://gre/modules/AppConstants.jsm");
Cu.import("resource://gre/modules/Services.jsm");
const ToolkitProfileService = "@mozilla.org/toolkit/profile-service;1";
@ -19,9 +18,9 @@ var gProfileService;
function startup()
{
gDialogParams = window.arguments[0].QueryInterface(I.nsIDialogParamBlock);
gDialogParams = window.arguments[0].QueryInterface(Ci.nsIDialogParamBlock);
gProfileService = C[ToolkitProfileService].getService(I.nsIToolkitProfileService);
gProfileService = Cc[ToolkitProfileService].getService(Ci.nsIToolkitProfileService);
gProfileManagerBundle = document.getElementById("bundle_profileManager");
gBrandBundle = document.getElementById("bundle_brand");