зеркало из https://github.com/mozilla/pjs.git
Add a get() to fix build bustage
This commit is contained in:
Родитель
ef64028dc2
Коммит
1916168c22
|
@ -1095,7 +1095,7 @@ NS_IMETHODIMP nsXULKeyListenerImpl::GetKeyBindingDocument(nsCAutoString& aURLStr
|
||||||
nsCOMPtr<nsISupports> supports;
|
nsCOMPtr<nsISupports> supports;
|
||||||
supports = NS_STATIC_CAST(nsISupports*, mKeyBindingTable->Get(&key));
|
supports = NS_STATIC_CAST(nsISupports*, mKeyBindingTable->Get(&key));
|
||||||
|
|
||||||
if (supports != mMissObject) {
|
if (supports.get() != mMissObject) {
|
||||||
document = do_QueryInterface(supports);
|
document = do_QueryInterface(supports);
|
||||||
if (!document) {
|
if (!document) {
|
||||||
LoadKeyBindingDocument(uri, getter_AddRefs(document));
|
LoadKeyBindingDocument(uri, getter_AddRefs(document));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче