mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only)
This commit is contained in:
parent
284e94e2be
commit
c31f357639
@ -1100,7 +1100,7 @@ nsAccessible::TakeFocus()
|
||||
nsIContent* focusContent = mContent;
|
||||
|
||||
// If the current element can't take real DOM focus and if it has an ID and
|
||||
// ancestor with a the aria-activedescendant attribute present, then set DOM
|
||||
// an ancestor with an aria-activedescendant attribute present, then set DOM
|
||||
// focus to that ancestor and set aria-activedescendant on the ancestor to
|
||||
// the ID of the desired element.
|
||||
if (!frame->IsFocusable()) {
|
||||
|
@ -279,7 +279,7 @@ public:
|
||||
mozInlineSpellStatus* aStatus,
|
||||
PRBool* aDoneChecking);
|
||||
|
||||
// helper routine to determine if a point is inside of a the passed in selection.
|
||||
// helper routine to determine if a point is inside of the passed in selection.
|
||||
nsresult IsPointInSelection(nsISelection *aSelection,
|
||||
nsIDOMNode *aNode,
|
||||
PRInt32 aOffset,
|
||||
|
@ -62,7 +62,7 @@ class PathService {
|
||||
// Otherwise, true is returned.
|
||||
//
|
||||
// WARNING: This function could be called on any thread from which the
|
||||
// PathService is used, so a the ProviderFunc MUST BE THREADSAFE.
|
||||
// PathService is used, so the ProviderFunc MUST BE THREADSAFE.
|
||||
//
|
||||
typedef bool (*ProviderFunc)(int, FilePath*);
|
||||
|
||||
|
@ -658,7 +658,7 @@ bool IsNumPadDigit(int key_code, bool extended_key) {
|
||||
return true;
|
||||
|
||||
// Check for num pad keys without NumLock.
|
||||
// Note: there is no easy way to know if a the key that was pressed comes from
|
||||
// Note: there is no easy way to know if a key that was pressed comes from
|
||||
// the num pad or the rest of the keyboard. Investigating how
|
||||
// TranslateMessage() generates the WM_KEYCHAR from an
|
||||
// ALT + <NumPad sequences> it appears it looks at the extended key flag
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
/* If compiled for profiling, call `_mcount' at the start of each function. */
|
||||
#ifdef PROF
|
||||
/* The mcount code relies on a the return address being on the stack
|
||||
/* The mcount code relies on the return address being on the stack
|
||||
to locate our caller and so it can restore it; so store one just
|
||||
for its benefit. */
|
||||
#ifdef PIC
|
||||
|
@ -155,7 +155,7 @@ PYTHON=$savepython
|
||||
|
||||
# TEST_JSDIR must be set after set-build-env.sh is called
|
||||
# on Windows since TEST_DIR can be modified in set-build-env.sh
|
||||
# from the pure cygwin path /work/... to a the cygwin windows path
|
||||
# from the pure cygwin path /work/... to the cygwin windows path
|
||||
# /c/work/...
|
||||
TEST_JSDIR=${TEST_JSDIR:-$TEST_DIR/tests/mozilla.org/js}
|
||||
|
||||
|
@ -1136,7 +1136,7 @@ nsTableCellMap::SetBCBorderCorner(Corner aCorner,
|
||||
cellData = (BCCellData*)cellMap->AppendCell(*this, nsnull, 0, PR_FALSE, damageArea);
|
||||
}
|
||||
}
|
||||
else { // must be a the bottom of the table
|
||||
else { // must be at the bottom of the table
|
||||
bcData = GetBottomMostBorder(xPos);
|
||||
}
|
||||
}
|
||||
|
@ -830,8 +830,8 @@ nsDataObj :: GetDib ( const nsACString& inFlavor, FORMATETC &, STGMEDIUM & aSTG
|
||||
}
|
||||
|
||||
if ( image ) {
|
||||
// use a the helper class to build up a bitmap. We now own the bits,
|
||||
// and pass them back to the OS in |aSTG|.
|
||||
// use the |nsImageToClipboard| helper class to build up a bitmap. We now own
|
||||
// the bits, and pass them back to the OS in |aSTG|.
|
||||
nsImageToClipboard converter ( image );
|
||||
HANDLE bits = nsnull;
|
||||
nsresult rv = converter.GetPicture ( &bits );
|
||||
|
Loading…
Reference in New Issue
Block a user