Bug 1157235 - Remove unused sessionstore-state-write notification r=Yoric

This commit is contained in:
Tim Taubert 2015-04-22 16:05:40 +02:00
Родитель f87169c55d
Коммит 3a85704b48
2 изменённых файлов: 1 добавлений и 4 удалений

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

@ -246,9 +246,6 @@ let SessionSaverInternal = {
* Write the given state object to disk.
*/
_writeState: function (state) {
// Inform observers
notify(null, "sessionstore-state-write");
stopWatchStart("WRITE_STATE_LONGEST_OP_MS");
// We update the time stamp before writing so that we don't write again

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

@ -239,7 +239,7 @@ function waitForTopic(aTopic, aTimeout, aCallback) {
* Wait until session restore has finished collecting its data and is
* has written that data ("sessionstore-state-write-complete").
*
* @param {function} aCallback If sessionstore-state-write is sent
* @param {function} aCallback If sessionstore-state-write-complete is sent
* within buffering interval + 100 ms, the callback is passed |true|,
* otherwise, it is passed |false|.
*/