Bug 748701 - Followup: typo fix, forgot to set rv. r=me

This commit is contained in:
Jared Wein 2012-05-07 14:15:22 -07:00
parent f8e79cfe71
commit bf55883719

View File

@ -524,7 +524,7 @@ nsresult nsObjectLoadingContent::IsPluginEnabledForType(const nsCString& aMIMETy
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIDOMWindow> topWindow;
window->GetTop(getter_AddRefs(topWindow));
rv = window->GetTop(getter_AddRefs(topWindow));
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIDOMDocument> topDocument;
rv = topWindow->GetDocument(getter_AddRefs(topDocument));