Bug 1583378 - Remove unneded warning in do_QueryActor. r=kmag

Differential Revision: https://phabricator.services.mozilla.com/D46870

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Agi Sferro 2019-09-23 22:32:37 +00:00
parent fa7fa3bd09
commit ffdab47977

View File

@ -17,7 +17,7 @@ class MOZ_STACK_CLASS nsQueryActor final : public nsCOMPtr_helper {
virtual nsresult NS_FASTCALL operator()(const nsIID& aIID,
void** aResult) const override {
if (NS_WARN_IF(!mWindow) || NS_WARN_IF(!mWindow->GetCurrentInnerWindow())) {
if (NS_WARN_IF(!mWindow) || !mWindow->GetCurrentInnerWindow()) {
return NS_ERROR_NO_INTERFACE;
}