diff --git a/embedding/browser/nsWebBrowser.cpp b/embedding/browser/nsWebBrowser.cpp index 3d76367e92e0..f29874bfe8e4 100644 --- a/embedding/browser/nsWebBrowser.cpp +++ b/embedding/browser/nsWebBrowser.cpp @@ -1696,7 +1696,7 @@ bool nsWebBrowser::PaintWindow(nsIWidget* aWidget, nsIntRegion aRegion) NS_IMETHODIMP nsWebBrowser::GetPrimaryContentWindow(nsIDOMWindow** aDOMWindow) { - *aDOMWindow = 0; + *aDOMWindow = nullptr; nsCOMPtr item; NS_ENSURE_TRUE(mDocShellTreeOwner, NS_ERROR_FAILURE); @@ -1834,8 +1834,8 @@ NS_IMETHODIMP nsWebBrowser::CloseStream() rv = mStream->CloseStream(); // release - mStream = 0; - mStreamGuard = 0; + mStream = nullptr; + mStreamGuard = nullptr; return rv; }