mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1272774 - remove unused update() method on tab actor;r=ochameau
MozReview-Commit-ID: FdrEAsIBsvj --HG-- extra : rebase_source : 0e2166305f42b2487ce7558490a473eb9adec443
This commit is contained in:
parent
1d94b51b97
commit
a649bddbb2
@ -15,7 +15,6 @@
|
||||
var { Ci, Cu, Cr, Cc } = require("chrome");
|
||||
var Services = require("Services");
|
||||
var { XPCOMUtils } = require("resource://gre/modules/XPCOMUtils.jsm");
|
||||
var promise = require("promise");
|
||||
var {
|
||||
ActorPool, createExtraActors, appendExtraActors
|
||||
} = require("devtools/server/actors/common");
|
||||
@ -443,15 +442,6 @@ TabActor.prototype = {
|
||||
return this._sources;
|
||||
},
|
||||
|
||||
/**
|
||||
* This is called by BrowserTabList.getList for existing tab actors prior to
|
||||
* calling |form| below. It can be used to do any async work that may be
|
||||
* needed to assemble the form.
|
||||
*/
|
||||
update() {
|
||||
return promise.resolve(this);
|
||||
},
|
||||
|
||||
form() {
|
||||
assert(!this.exited,
|
||||
"form() shouldn't be called on exited browser actor.");
|
||||
|
Loading…
Reference in New Issue
Block a user