Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 94712 | Differences between
and this patch

Collapse All | Expand All

(-)security/manager/boot/src/nsSecureBrowserUIImpl.cpp (+4 lines)
Lines 1278-1297 NS_IMETHODIMP nsUIContext::GetInterface( Link Here
1278
  nsresult rv;
1278
  nsresult rv;
1279
1279
1280
  if (uuid.Equals(NS_GET_IID(nsIPrompt))) {
1280
  if (uuid.Equals(NS_GET_IID(nsIPrompt))) {
1281
    nsCOMPtr<nsIDOMWindowInternal> internal = do_QueryInterface(mWindow, &rv);
1281
    nsCOMPtr<nsIDOMWindowInternal> internal = do_QueryInterface(mWindow, &rv);
1282
    if (NS_FAILED(rv)) return rv;
1282
    if (NS_FAILED(rv)) return rv;
1283
1283
1284
    nsIPrompt *prompt;
1284
    nsIPrompt *prompt;
1285
1285
1286
    rv = internal->GetPrompter(&prompt);
1286
    rv = internal->GetPrompter(&prompt);
1287
    *result = prompt;
1287
    *result = prompt;
1288
  } else if (uuid.Equals(NS_GET_IID(nsIDOMWindow))) {
1289
    *result = mWindow;
1290
    NS_ADDREF ((nsISupports*) *result);
1291
    rv = NS_OK;
1288
  } else {
1292
  } else {
1289
    rv = NS_ERROR_NO_INTERFACE;
1293
    rv = NS_ERROR_NO_INTERFACE;
1290
  }
1294
  }
1291
1295
1292
  return rv;
1296
  return rv;
1293
}
1297
}
1294
1298
1295
nsresult nsSecureBrowserUIImpl::
1299
nsresult nsSecureBrowserUIImpl::
1296
GetNSSDialogs(nsISecurityWarningDialogs **result)
1300
GetNSSDialogs(nsISecurityWarningDialogs **result)
1297
{
1301
{

Return to bug 94712