Bug 1174829 - Remove vestigial PerformanceActorsConnection references in comments. r=vp

This commit is contained in:
Jordan Santell 2015-06-15 11:38:39 -07:00
parent deed4b2c2f
commit 65d41d9d74
6 changed files with 11 additions and 11 deletions

View File

@ -2068,7 +2068,7 @@ Toolbox.prototype = {
}),
/**
* Disconnects the underlying Performance Actor Connection. If the connection
* Disconnects the underlying Performance actor. If the connection
* has not finished initializing, as opening a toolbox does not wait,
* the performance connection destroy method will wait for it on its own.
*/

View File

@ -249,7 +249,7 @@ TimelineFrontFacade.prototype = {
/**
* An aggregate of all events (markers, frames, memory, ticks) and exposes
* to PerformanceActorsConnection as a single event.
* to PerformanceFront as a single event.
*/
_onTimelineData: function (type, ...data) {
this.emit("timeline-data", type, ...data);

View File

@ -35,8 +35,8 @@ let PerformanceFronts = new WeakMap();
*
* @param Target target
* The target owning this connection.
* @return PerformanceActorsConnection
* The shared connection for the specified target.
* @return PerformanceFront
* The pseudofront for all the underlying actors.
*/
PerformanceFronts.forTarget = function(target) {
if (this.has(target)) {
@ -350,7 +350,7 @@ PerformanceFront.prototype = {
* Returns the same model, populated with the profiling data.
*/
stopRecording: Task.async(function*(model) {
// If model isn't in the PerformanceActorsConnections internal store,
// If model isn't in the PerformanceFront internal store,
// then do nothing.
if (this._recordings.indexOf(model) === -1) {
return;

View File

@ -89,8 +89,8 @@ RecordingModel.prototype = {
}),
/**
* Sets up the instance with data from the SharedPerformanceConnection when
* starting a recording. Should only be called by SharedPerformanceConnection.
* Sets up the instance with data from the PerformanceFront when
* starting a recording. Should only be called by PerformanceFront.
*/
_populate: function (info) {
// Times must come from the actor in order to be self-consistent.
@ -131,8 +131,8 @@ RecordingModel.prototype = {
},
/**
* Sets results available from stopping a recording from SharedPerformanceConnection.
* Should only be called by SharedPerformanceConnection.
* Sets results available from stopping a recording from PerformanceFront.
* Should only be called by PerformanceFront.
*/
_onStopRecording: Task.async(function *({ profilerEndTime, profile }) {
// Update the duration with the accurate profilerEndTime, so we don't have

View File

@ -2,7 +2,7 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Tests if the shared PerformanceActorsConnection is only opened once.
* Tests if the shared PerformanceFront is only opened once.
*/
let gProfilerConnectionsOpened = 0;

View File

@ -2,7 +2,7 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Tests if the shared PerformanceActorsConnection can properly send requests.
* Tests if the shared PerformanceFront can properly send requests.
*/
function* spawnTest() {