From c9844397ea59b03eb72ab5ab5702ad055f280cec Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Wed, 20 Jul 2016 17:29:36 +0200 Subject: [PATCH] Bug 1288077: Whitespace fixes, r=froydnj MozReview-Commit-ID: DpKAsid5O3k --- dom/base/nsISelectionPrivate.idl | 4 ++-- gfx/thebes/gfxContext.h | 12 ++++++------ netwerk/dns/nsIDNSService.idl | 2 +- widget/nsXPLookAndFeel.cpp | 2 +- xpcom/glue/nsTArray.h | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dom/base/nsISelectionPrivate.idl b/dom/base/nsISelectionPrivate.idl index 676cc50eaa3a..29fd7d0001e7 100644 --- a/dom/base/nsISelectionPrivate.idl +++ b/dom/base/nsISelectionPrivate.idl @@ -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). diff --git a/gfx/thebes/gfxContext.h b/gfx/thebes/gfxContext.h index 767f0bec4ec0..0a09c837c4f2 100644 --- a/gfx/thebes/gfxContext.h +++ b/gfx/thebes/gfxContext.h @@ -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) { diff --git a/netwerk/dns/nsIDNSService.idl b/netwerk/dns/nsIDNSService.idl index 2d5ba517e3a9..e4117290d26f 100644 --- a/netwerk/dns/nsIDNSService.idl +++ b/netwerk/dns/nsIDNSService.idl @@ -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); diff --git a/widget/nsXPLookAndFeel.cpp b/widget/nsXPLookAndFeel.cpp index c714cdb5ab64..54c61982943f 100644 --- a/widget/nsXPLookAndFeel.cpp +++ b/widget/nsXPLookAndFeel.cpp @@ -827,7 +827,7 @@ nsXPLookAndFeel::GetColorImpl(ColorID aID, bool aUseStandinsForNativeColors, return NS_ERROR_NOT_AVAILABLE; } - + nsresult nsXPLookAndFeel::GetIntImpl(IntID aID, int32_t &aResult) { diff --git a/xpcom/glue/nsTArray.h b/xpcom/glue/nsTArray.h index 5920eb903e2a..418928000512 100644 --- a/xpcom/glue/nsTArray.h +++ b/xpcom/glue/nsTArray.h @@ -1876,7 +1876,7 @@ template template auto nsTArray_Impl::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(