From ea618751908b05658f30a4dc37ed4a192900690b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez?= Date: Wed, 25 Sep 2013 21:08:04 +0200 Subject: [PATCH] Bug 919429 - [Message manager] We must not force weak listeners to implement Ci.nsIMessageListener. r=smaug --- content/base/src/nsFrameMessageManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsFrameMessageManager.cpp b/content/base/src/nsFrameMessageManager.cpp index 36ee6d4a9098..f5d787620886 100644 --- a/content/base/src/nsFrameMessageManager.cpp +++ b/content/base/src/nsFrameMessageManager.cpp @@ -757,7 +757,7 @@ nsFrameMessageManager::ReceiveMessage(nsISupports* aTarget, for (uint32_t i = 0; i < mListeners.Length(); ++i) { // Remove mListeners[i] if it's an expired weak listener. - nsCOMPtr weakListener; + nsCOMPtr weakListener; if (mListeners[i].mWeakListener) { weakListener = do_QueryReferent(mListeners[i].mWeakListener); if (!weakListener) {