nsCOMPtr<nsIXBLBinding> binding;
nsRefPtr<nsXBLBinding> binding;
nsBindingManager::AddLayeredBinding(nsIContent* aContent, const nsAReadableString& aURL){  // First we need to load our binding.  nsresult rv;  NS_WITH_SERVICE(nsIXBLService, xblService, "@mozilla.org/xbl;1", &rv);  if (!xblService)    return rv;  // Load the bindings.  nsCOMPtr<nsIXBLBinding> binding;  PRBool dummy;  xblService->LoadBindings(aContent, aURL, PR_TRUE, getter_AddRefs(binding), &dummy);  if (binding) {    AddToAttachedQueue(binding);    ProcessAttachedQueue();  }  return NS_OK;}