Commit 9834c92a authored by sachinchauhan2889@gmail.com's avatar sachinchauhan2889@gmail.com
Browse files

Bug 1688511 - do not use 'else' after 'return'. r=sylvestre

parent 12e78a4a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -153,7 +153,8 @@ nsresult ResolveURI(nsIURI* in, nsIURI** out) {
    NS_ENSURE_SUCCESS(rv, rv);

    return ioService->NewURI(spec, nullptr, nullptr, out);
  } else if (in->SchemeIs("chrome")) {
  }
  if (in->SchemeIs("chrome")) {
    nsCOMPtr<nsIChromeRegistry> chromeReg =
        mozilla::services::GetChromeRegistry();
    if (!chromeReg) return NS_ERROR_UNEXPECTED;