mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
fa7fa3bd09
commit
ffdab47977
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user