Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst

This commit is contained in:
Daniel Holbert 2009-01-23 01:02:09 -08:00
parent db675f458e
commit 31c18a6827
19 changed files with 25 additions and 25 deletions

View File

@ -1629,7 +1629,7 @@ private:
// sMutationCount is a global mutation counter which is decreased by one at
// every mutation. It is capped at 0 to avoid wrapping.
// It's value is always between 0 and 300, inclusive.
// Its value is always between 0 and 300, inclusive.
static PRUint32 sMutationCount;
};

View File

@ -163,7 +163,7 @@ public:
*
* For the HTML element "<body>" in a HTML document this will return a null
* string and for the XML element "<html:body>" (assuming that this element,
* or one of it's ancestors has an
* or one of its ancestors has an
* xmlns:html='http://www.w3.org/1999/xhtml' attribute) this will return
* the string "http://www.w3.org/1999/xhtml".
*/
@ -175,7 +175,7 @@ public:
*
* For the HTML element "<body>" in a HTML document this will return
* kNameSpaceID_None and for the XML element "<html:body>" (assuming that
* this element, or one of it's ancestors has an
* this element, or one of its ancestors has an
* xmlns:html='http://www.w3.org/1999/xhtml' attribute) this will return
* the namespace ID for "http://www.w3.org/1999/xhtml".
*/

View File

@ -1348,7 +1348,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
}
// cool, we have the first node in the range. Now we walk
// up it's ancestors to find the most senior that is still
// up its ancestors to find the most senior that is still
// in the range. That's the real first node.
if (NS_FAILED(GetTopAncestorInRange(firstCandidate, address_of(mFirst))))
return NS_ERROR_FAILURE;
@ -1399,7 +1399,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
}
// cool, we have the last node in the range. Now we walk
// up it's ancestors to find the most senior that is still
// up its ancestors to find the most senior that is still
// in the range. That's the real first node.
if (NS_FAILED(GetTopAncestorInRange(lastCandidate, address_of(mLast))))
return NS_ERROR_FAILURE;

View File

@ -665,7 +665,7 @@ public:
/**
* Create a new presentation shell that will use aContext for
* it's presentation context (presentation context's <b>must not</b> be
* its presentation context (presentation context's <b>must not</b> be
* shared among multiple presentation shell's).
*/
virtual nsresult CreateShell(nsPresContext* aContext,

View File

@ -675,7 +675,7 @@ nsHTMLContentSerializer::AppendElementStart(nsIDOMElement *aElement,
// for the LI.
if (mIsCopying && name == nsGkAtoms::ol){
// We are copying and current node is an OL;
// Store it's start attribute value in olState->startVal.
// Store its start attribute value in olState->startVal.
nsAutoString start;
PRInt32 startAttrVal = 0;
aElement->GetAttribute(NS_LITERAL_STRING("start"), start);

View File

@ -545,7 +545,7 @@ nsTreeWalker::ChildOf(nsINode* aNode,
}
/*
* Gets the child index of a node within it's parent. Gets a possible index
* Gets the child index of a node within its parent. Gets a possible index
* from mPossibleIndexes to gain speed. If the value in mPossibleIndexes
* isn't correct it'll get the index the usual way
* @param aParent in which to get the index

View File

@ -147,7 +147,7 @@ private:
nsINode** _retval);
/*
* Gets the child index of a node within it's parent. Gets a possible index
* Gets the child index of a node within its parent. Gets a possible index
* from mPossibleIndexes to gain speed. If the value in mPossibleIndexes
* isn't correct it'll get the index the usual way.
* @param aParent in which to get the index

View File

@ -257,7 +257,7 @@ protected:
* @param aStatus the event status
* @param aBubbledFrom is used by an ancestor to avoid calling HandleAccessKey()
* on the child the call originally came from, i.e. this is the child
* that recursively called us in it's Up phase. The initial caller
* that recursively called us in its Up phase. The initial caller
* passes |nsnull| here. This is to avoid an infinite loop.
* @param aAccessKeyState Normal, Down or Up processing phase (see enums
* above). The initial event receiver uses 'normal', then 'down' when

View File

@ -78,7 +78,7 @@ public:
NS_IMETHOD SetCheckedChangedInternal(PRBool aCheckedChanged) = 0;
/**
* Let an entire radio group know that it's "checked" property has been
* Let an entire radio group know that its "checked" property has been
* changed by JS or by the user (calls SetCheckedChangedInternal multiple
* times via a visitor)
*

View File

@ -2523,7 +2523,7 @@ nsHTMLInputElement::SubmitNamesValues(nsIFormSubmission* aFormSubmission,
}
//
// Submit file if it's input type=file and this encoding method accepts files
// Submit file if its input type=file and this encoding method accepts files
//
if (mType == NS_FORM_INPUT_FILE) {
//

View File

@ -257,7 +257,7 @@ nsHTMLLinkElement::CreateAndDispatchEvent(nsIDocument* aDoc,
// In the unlikely case that both rev is specified *and* rel=stylesheet,
// this code will cause the event to fire, on the principle that maybe the
// page really does want to specify that it's author is a stylesheet. Since
// page really does want to specify that its author is a stylesheet. Since
// this should never actually happen and the performance hit is minimal,
// doing the "right" thing costs virtually nothing here, even if it doesn't
// make much sense.

View File

@ -753,7 +753,7 @@ nsHTMLTableElement::InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aValue)
{
/* get the ref row at aIndex
if there is one,
get it's parent
get its parent
insert the new row just before the ref row
else
get the first row group

View File

@ -1602,7 +1602,7 @@ IsScriptEnabled(nsIDocument *aDoc, nsIDocShell *aContainer)
nsCOMPtr<nsIScriptGlobalObject> globalObject = aDoc->GetScriptGlobalObject();
// Getting context is tricky if the document hasn't had it's
// Getting context is tricky if the document hasn't had its
// GlobalObject set yet
if (!globalObject) {
nsCOMPtr<nsIScriptGlobalObjectOwner> owner = do_GetInterface(aContainer);

View File

@ -399,7 +399,7 @@ public:
// This must be called on the main thread only, and at a
// time when the strategy is not reading from the current
// channel/stream. It's primary purpose is to be called from
// channel/stream. Its primary purpose is to be called from
// a Seek to reset to the new byte range request http channel.
void Reset(nsIChannel* aChannel,
nsChannelToPipeListener* aListener,

View File

@ -289,7 +289,7 @@ nsSMILAnimationController::DoSample(PRBool aSkipUnchangedContainers)
//
// (i) Here we sample the timed elements (fetched from the
// nsISMILAnimationElements) which determine from the active time if the
// element is active and what it's simple time etc. is. This information is
// element is active and what its simple time etc. is. This information is
// then passed to its time client (nsSMILAnimationFunction).
//
// (ii) During the same loop we also build up a table that contains one

View File

@ -129,7 +129,7 @@ nsSMILTimedElement::BeginElementAt(double aOffsetSeconds,
//
// Intuitively this change should take effect before the subsequent call to
// BeginElementAt however to get this to take effect we need to drive the
// state engine through it's sequence active-waiting-active by calling Sample.
// state engine through its sequence active-waiting-active by calling Sample.
//
// When we get the second call to BeginElementAt the element should be in the
// active state and hence the new begin instance time will be ignored because

View File

@ -891,7 +891,7 @@ nsBindingManager::RemoveLayeredBinding(nsIContent* aContent, nsIURI* aURL)
SetBinding(aContent, nsnull);
binding->MarkForDeath();
// ...and recreate it's frames. We need to do this since the frames may have
// ...and recreate its frames. We need to do this since the frames may have
// been removed and style may have changed due to the removal of the
// anonymous children.
// XXXbz this should be using the current doc (if any), not the owner doc.

View File

@ -39,7 +39,7 @@
/**
* Represents a BooleanExpr, a binary expression that
* performs a boolean operation between it's lvalue and rvalue.
* performs a boolean operation between its lvalue and rvalue.
**/
#include "txExpr.h"

View File

@ -718,7 +718,7 @@ private:
};
/**
* Represents an UnaryExpr. Returns the negative value of it's expr.
* Represents an UnaryExpr. Returns the negative value of its expr.
**/
class UnaryExpr : public Expr {
@ -737,7 +737,7 @@ private:
/**
* Represents a BooleanExpr, a binary expression that
* performs a boolean operation between it's lvalue and rvalue.
* performs a boolean operation between its lvalue and rvalue.
**/
class BooleanExpr : public Expr
{
@ -762,7 +762,7 @@ private:
/**
* Represents a MultiplicativeExpr, a binary expression that
* performs a multiplicative operation between it's lvalue and rvalue:
* performs a multiplicative operation between its lvalue and rvalue:
* * : multiply
* mod : modulus
* div : divide
@ -789,8 +789,8 @@ private:
}; //-- MultiplicativeExpr
/**
* Represents a RelationalExpr, an expression that compares it's lvalue
* to it's rvalue using:
* Represents a RelationalExpr, an expression that compares its lvalue
* to its rvalue using:
* = : equal to
* < : less than
* > : greater than