Bug 1212153 - Clean up Cu.isModuleLoaded after migration. r=bgrins

This commit is contained in:
J. Ryan Stinnett 2015-10-07 14:40:04 -05:00
parent 80ca09519f
commit 30736fdbf2
2 changed files with 2 additions and 2 deletions

View File

@ -2490,7 +2490,7 @@ var SessionStoreInternal = {
global: this._globalState.getState()
};
if (Cu.isModuleLoaded("resource:///modules/devtools/scratchpad-manager.jsm")) {
if (Cu.isModuleLoaded("resource:///modules/devtools/client/scratchpad/scratchpad-manager.jsm")) {
// get open Scratchpad window states too
let scratchpads = ScratchpadManager.getSessionState();
if (scratchpads && scratchpads.length) {

View File

@ -2524,7 +2524,7 @@ this.XPIProvider = {
if (!REQUIRE_SIGNING)
Services.prefs.addObserver(PREF_XPI_SIGNATURES_REQUIRED, this, false);
Services.obs.addObserver(this, NOTIFICATION_FLUSH_PERMISSIONS, false);
if (Cu.isModuleLoaded("resource:///modules/devtools/ToolboxProcess.jsm")) {
if (Cu.isModuleLoaded("resource:///modules/devtools/client/framework/ToolboxProcess.jsm")) {
// If BrowserToolboxProcess is already loaded, set the boolean to true
// and do whatever is needed
this._toolboxProcessLoaded = true;