зеркало из https://github.com/mozilla/pjs.git
Fix for 49150, r=ben
This commit is contained in:
Родитель
23d87c9e6d
Коммит
072ffea226
|
@ -436,7 +436,7 @@ nsBindingManager::PutXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo)
|
|||
nsCOMPtr<nsIDocument> doc;
|
||||
aDocumentInfo->GetDocument(getter_AddRefs(doc));
|
||||
|
||||
nsCOMPtr<nsIURI> uri(doc->GetDocumentURL());
|
||||
nsCOMPtr<nsIURI> uri(getter_AddRefs(doc->GetDocumentURL()));
|
||||
nsXPIDLCString str;
|
||||
uri->GetSpec(getter_Copies(str));
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ nsXBLStreamListener::Load(nsIDOMEvent* aEvent)
|
|||
// Remove ourselves from the set of pending docs.
|
||||
nsCOMPtr<nsIBindingManager> bindingManager;
|
||||
doc->GetBindingManager(getter_AddRefs(bindingManager));
|
||||
nsCOMPtr<nsIURI> uri(mBindingDocument->GetDocumentURL());
|
||||
nsCOMPtr<nsIURI> uri(getter_AddRefs(mBindingDocument->GetDocumentURL()));
|
||||
nsXPIDLCString str;
|
||||
uri->GetSpec(getter_Copies(str));
|
||||
bindingManager->RemoveLoadingDocListener(nsCAutoString(NS_STATIC_CAST(const char*, str)));
|
||||
|
|
|
@ -207,7 +207,7 @@ nsXULPrototypeCache::PutXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo)
|
|||
nsCOMPtr<nsIDocument> doc;
|
||||
aDocumentInfo->GetDocument(getter_AddRefs(doc));
|
||||
|
||||
nsCOMPtr<nsIURI> uri(doc->GetDocumentURL());
|
||||
nsCOMPtr<nsIURI> uri(getter_AddRefs(doc->GetDocumentURL()));
|
||||
|
||||
nsXPIDLCString str;
|
||||
uri->GetSpec(getter_Copies(str));
|
||||
|
|
|
@ -436,7 +436,7 @@ nsBindingManager::PutXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo)
|
|||
nsCOMPtr<nsIDocument> doc;
|
||||
aDocumentInfo->GetDocument(getter_AddRefs(doc));
|
||||
|
||||
nsCOMPtr<nsIURI> uri(doc->GetDocumentURL());
|
||||
nsCOMPtr<nsIURI> uri(getter_AddRefs(doc->GetDocumentURL()));
|
||||
nsXPIDLCString str;
|
||||
uri->GetSpec(getter_Copies(str));
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ nsXBLStreamListener::Load(nsIDOMEvent* aEvent)
|
|||
// Remove ourselves from the set of pending docs.
|
||||
nsCOMPtr<nsIBindingManager> bindingManager;
|
||||
doc->GetBindingManager(getter_AddRefs(bindingManager));
|
||||
nsCOMPtr<nsIURI> uri(mBindingDocument->GetDocumentURL());
|
||||
nsCOMPtr<nsIURI> uri(getter_AddRefs(mBindingDocument->GetDocumentURL()));
|
||||
nsXPIDLCString str;
|
||||
uri->GetSpec(getter_Copies(str));
|
||||
bindingManager->RemoveLoadingDocListener(nsCAutoString(NS_STATIC_CAST(const char*, str)));
|
||||
|
|
|
@ -207,7 +207,7 @@ nsXULPrototypeCache::PutXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo)
|
|||
nsCOMPtr<nsIDocument> doc;
|
||||
aDocumentInfo->GetDocument(getter_AddRefs(doc));
|
||||
|
||||
nsCOMPtr<nsIURI> uri(doc->GetDocumentURL());
|
||||
nsCOMPtr<nsIURI> uri(getter_AddRefs(doc->GetDocumentURL()));
|
||||
|
||||
nsXPIDLCString str;
|
||||
uri->GetSpec(getter_Copies(str));
|
||||
|
|
Загрузка…
Ссылка в новой задаче