Commit 3ad85c55 authored by Tatiana Meshkova's avatar Tatiana Meshkova

Update Embedlite components up to bug 514280

parent b39dcdb7
......@@ -40,7 +40,7 @@ EmbedChromeManager::~EmbedChromeManager()
{
}
NS_IMPL_ISUPPORTS(EmbedChromeManager, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedChromeManager, nsIObserver, nsISupportsWeakReference)
nsresult
EmbedChromeManager::Init()
......
......@@ -33,7 +33,7 @@ EmbedPromptRegister::~EmbedPromptRegister()
{
}
NS_IMPL_ISUPPORTS(EmbedPromptRegister, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedPromptRegister, nsIObserver, nsISupportsWeakReference)
nsresult
EmbedPromptRegister::Init()
......
......@@ -56,7 +56,7 @@ EmbedPromptOuterObserver::~EmbedPromptOuterObserver()
OnDestroy();
}
NS_IMPL_ISUPPORTS(EmbedPromptOuterObserver, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedPromptOuterObserver, nsIObserver, nsISupportsWeakReference)
NS_IMETHODIMP
EmbedPromptOuterObserver::Observe(nsISupports *aSubject,
......@@ -869,8 +869,7 @@ EmbedAuthPromptService::DoResponseAsyncPrompt(EmbedAsyncAuthPrompt* prompt,
}
for (unsigned int i = 0; i < prompt->consumers.Length(); i++) {
nsCOMPtr<nsICancelable> consumerI = prompt->consumers[i];
nsCOMPtr<nsAuthCancelableConsumer> consumer = do_QueryInterface(consumerI);
nsRefPtr<nsAuthCancelableConsumer> consumer = static_cast<nsAuthCancelableConsumer*>(prompt->consumers[i].get());
if (!consumer->mCallback) {
// Not having a callback means that consumer didn't provide it
// or canceled the notification.
......
......@@ -104,7 +104,7 @@ public:
}
virtual ~EmbedAsyncAuthPrompt() {}
nsTArray<nsCOMPtr<nsICancelable>> consumers;
nsTArray<nsRefPtr<nsICancelable>> consumers;
nsIDOMWindow* mWin;
nsCOMPtr<nsIChannel> mChannel;
nsCOMPtr<nsIAuthInformation> mAuthInfo;
......
......@@ -40,7 +40,7 @@ EmbedTouchManager::~EmbedTouchManager()
{
}
NS_IMPL_ISUPPORTS(EmbedTouchManager, nsIObserver, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedTouchManager, nsIObserver, nsISupportsWeakReference)
nsresult
EmbedTouchManager::Init()
......
......@@ -36,7 +36,7 @@ EmbedWidgetFactoryRegister::~EmbedWidgetFactoryRegister()
{
}
NS_IMPL_ISUPPORTS(EmbedWidgetFactoryRegister, nsSupportsWeakReference)
NS_IMPL_ISUPPORTS(EmbedWidgetFactoryRegister, nsISupportsWeakReference)
nsresult
EmbedWidgetFactoryRegister::Init()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment