Bug 542298 - plugin-changed-event does not match frontend's plugin-reflow-event [r=dougt r=stechz]

This commit is contained in:
Mark Finkle 2010-01-26 17:22:24 -05:00
Родитель 3d17df2fa7
Коммит 5677e626c2
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -3115,7 +3115,7 @@ PluginObserver.prototype = {
this._contentShowing.addEventListener("broadcast", this, false);
let browsers = document.getElementById("browsers");
browsers.addEventListener("RenderStateChanged", this, false);
gObserverService.addObserver(this, "plugin-reflow-event", false);
gObserverService.addObserver(this, "plugin-changed-event", false);
Elements.stack.addEventListener("PopupChanged", this, false);
let browser = Browser.selectedBrowser;
@ -3135,7 +3135,7 @@ PluginObserver.prototype = {
this._contentShowing.removeEventListener("broadcast", this, false);
let browsers = document.getElementById("browsers");
browsers.removeEventListener("RenderStateChanged", this, false);
gObserverService.removeObserver(this, "plugin-reflow-event");
gObserverService.removeObserver(this, "plugin-changed-event");
Elements.stack.removeEventListener("PopupChanged", this, false);
let browser = Browser.selectedBrowser;