Bug 1288077: Whitespace fixes, r=froydnj

MozReview-Commit-ID: DpKAsid5O3k
This commit is contained in:
Thomas Zimmermann 2016-07-20 17:29:36 +02:00
parent d115f7f708
commit c9844397ea
5 changed files with 11 additions and 11 deletions

View File

@ -52,7 +52,7 @@ interface nsISelectionPrivate : nsISelection
void removeSelectionListener(in nsISelectionListener listenerToRemove);
/* Table selection stuff
We should probably move this and table-related
We should probably move this and table-related
items in nsFrameSelection to a
new nsITableSelection interface
*/
@ -95,7 +95,7 @@ interface nsISelectionPrivate : nsISelection
*/
[noscript, notxpcom] nsDirection getSelectionDirection();
[noscript, notxpcom] void setSelectionDirection(in nsDirection aDirection);
/**
* Returns the type of the selection (see nsISelectionController for
* available constants).

View File

@ -213,7 +213,7 @@ public:
/**
* Takes the given rect and tries to align it to device pixels. If
* this succeeds, the method will return true, and the rect will
* be in device coordinates (already transformed by the CTM). If it
* be in device coordinates (already transformed by the CTM). If it
* fails, the method will return false, and the rect will not be
* changed.
*
@ -226,7 +226,7 @@ public:
/**
* Takes the given point and tries to align it to device pixels. If
* this succeeds, the method will return true, and the point will
* be in device coordinates (already transformed by the CTM). If it
* be in device coordinates (already transformed by the CTM). If it
* fails, the method will return false, and the point will not be
* changed.
*
@ -390,8 +390,8 @@ public:
bool HasComplexClip() const;
/**
* Returns true if the given rectangle is fully contained in the current clip.
* This is conservative; it may return false even when the given rectangle is
* Returns true if the given rectangle is fully contained in the current clip.
* This is conservative; it may return false even when the given rectangle is
* fully contained by the current clip.
*/
bool ClipContainsRect(const gfxRect& aRect);
@ -471,7 +471,7 @@ private:
typedef mozilla::gfx::Float Float;
typedef mozilla::gfx::PathBuilder PathBuilder;
typedef mozilla::gfx::SourceSurface SourceSurface;
struct AzureState {
AzureState()
: op(mozilla::gfx::CompositionOp::OP_OVER)
@ -562,7 +562,7 @@ public:
void SetContext(gfxContext *aContext) {
NS_ASSERTION(!mContext, "Not going to call Restore() on some context!!!");
mContext = aContext;
mContext->Save();
mContext->Save();
}
void EnsureSaved(gfxContext *aContext) {

View File

@ -143,7 +143,7 @@ interface nsIDNSService : nsISupports
const unsigned long RESOLVE_PRIORITY_LOW = (1 << 3);
/**
* if set, indicates request is speculative. Speculative requests
* if set, indicates request is speculative. Speculative requests
* return errors if prefetching is disabled by configuration.
*/
const unsigned long RESOLVE_SPECULATE = (1 << 4);

View File

@ -827,7 +827,7 @@ nsXPLookAndFeel::GetColorImpl(ColorID aID, bool aUseStandinsForNativeColors,
return NS_ERROR_NOT_AVAILABLE;
}
nsresult
nsXPLookAndFeel::GetIntImpl(IntID aID, int32_t &aResult)
{

View File

@ -1876,7 +1876,7 @@ template<typename E, class Alloc>
template<class Item, typename ActualAlloc>
auto
nsTArray_Impl<E, Alloc>::ReplaceElementsAt(index_type aStart, size_type aCount,
const Item* aArray, size_type aArrayLen) -> elem_type*
const Item* aArray, size_type aArrayLen) -> elem_type*
{
// Adjust memory allocation up-front to catch errors.
if (!ActualAlloc::Successful(this->template EnsureCapacity<ActualAlloc>(