Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron

Landing on a CLOSED TREE
This commit is contained in:
Ehsan Akhgari
2011-10-17 10:59:28 -04:00
parent e1a204cad0
commit 478ad1a412
1968 changed files with 25639 additions and 25639 deletions

View File

@@ -186,7 +186,7 @@ nsHTMLEditor::CreateAnonymousElement(const nsAString & aTag, nsIDOMNode * aPare
// establish parenthood of the element
newContent->SetNativeAnonymous();
res = newContent->BindToTree(doc, parentContent, parentContent, PR_TRUE);
res = newContent->BindToTree(doc, parentContent, parentContent, true);
if (NS_FAILED(res)) {
newContent->UnbindFromTree();
return res;
@@ -374,7 +374,7 @@ nsHTMLEditor::CheckSelectionStateForAnonymousButtons(nsISelection * aSelection)
if (mIsObjectResizingEnabled && focusElement &&
IsModifiableNode(focusElement) && focusElement != hostNode) {
if (nsEditProperty::img == focusTagAtom)
mResizedObjectIsAnImage = PR_TRUE;
mResizedObjectIsAnImage = true;
if (mResizedObject)
res = RefreshResizers();
else
@@ -429,7 +429,7 @@ nsHTMLEditor::GetPositionAndDimensions(nsIDOMElement * aElement,
if (isPositioned) {
// Yes, it is absolutely positioned
mResizedObjectIsAbsolutelyPositioned = PR_TRUE;
mResizedObjectIsAbsolutelyPositioned = true;
nsCOMPtr<nsIDOMWindow> window;
res = mHTMLCSSUtils->GetDefaultViewCSS(aElement, getter_AddRefs(window));
@@ -453,7 +453,7 @@ nsHTMLEditor::GetPositionAndDimensions(nsIDOMElement * aElement,
aH = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("height"));
}
else {
mResizedObjectIsAbsolutelyPositioned = PR_FALSE;
mResizedObjectIsAbsolutelyPositioned = false;
nsCOMPtr<nsIDOMNSHTMLElement> nsElement = do_QueryInterface(aElement);
if (!nsElement) {return NS_ERROR_NULL_POINTER; }