зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1494047 - Remove questionable and unnecessary cast in PresentationPresentingInfo::ResolvedCallback() r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D6851 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
e807dc8d6a
Коммит
2d647dfe0d
|
@ -1579,7 +1579,7 @@ PresentationPresentingInfo::ResolvedCallback(JSContext* aCx,
|
|||
return;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIFrameLoaderOwner> owner = do_QueryInterface((nsIFrameLoaderOwner*) frame);
|
||||
nsCOMPtr<nsIFrameLoaderOwner> owner = do_QueryInterface(frame);
|
||||
if (NS_WARN_IF(!owner)) {
|
||||
ReplyError(NS_ERROR_DOM_OPERATION_ERR);
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче