Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
authorDaisuke Akatsuka <daisuke@mozilla-japan.org>
Tue, 22 Mar 2016 09:33:05 +0900
changeset 289979 e5233a84bd57c99fd367bc96c286ed14bb849fd9
parent 289978 b2bc470bfbc3409702c24838d1a0029aa961fb96
child 289980 22615a6fd646b7eb53cd2d1a3be5bf3d22aa0906
push id18337
push usercbook@mozilla.com
push dateWed, 23 Mar 2016 15:30:25 +0000
treeherderfx-team@67ac681f7e53 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs1254761
milestone48.0a1
Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
dom/base/Element.h
dom/base/nsDocument.cpp
--- a/dom/base/Element.h
+++ b/dom/base/Element.h
@@ -177,17 +177,17 @@ public:
    * situation it is the caller's responsibility to dispatch them.
    *
    * In general, aNotify should only be false if we're guaranteed that
    * the element can't have a frame no matter what its style is
    * (e.g. if we're in the middle of adding it to the document or
    * removing it from the document).
    */
   void UpdateState(bool aNotify);
-  
+
   /**
    * Method to update mState with link state information.  This does not notify.
    */
   void UpdateLinkState(EventStates aState);
 
   /**
    * Returns true if this element is either a full-screen element or an
    * ancestor of the full-screen element.
@@ -337,17 +337,17 @@ public:
           AddStatesSilently(NS_EVENT_STATE_LTR);
         }
         break;
 
       default:
         break;
     }
 
-    /* 
+    /*
      * Only call UpdateState if we need to notify, because we call
      * SetDirectionality for every element, and UpdateState is very very slow
      * for some elements.
      */
     if (aNotify) {
       UpdateState(true);
     }
   }
@@ -975,17 +975,17 @@ public:
    * GetEnumValue() returns one of the above constants.
    */
   static void ParseCORSValue(const nsAString& aValue, nsAttrValue& aResult);
 
   /**
    * Return the CORS mode for a given string
    */
   static CORSMode StringToCORSMode(const nsAString& aValue);
-  
+
   /**
    * Return the CORS mode for a given nsAttrValue (which may be null,
    * but if not should have been parsed via ParseCORSValue).
    */
   static CORSMode AttrValueToCORSMode(const nsAttrValue* aValue);
 
   // These are just used to implement nsIDOMElement using
   // NS_FORWARD_NSIDOMELEMENT_TO_GENERIC and for quickstubs.
--- a/dom/base/nsDocument.cpp
+++ b/dom/base/nsDocument.cpp
@@ -1455,17 +1455,17 @@ nsIDocument::nsIDocument()
     mPostedFlushUserFontSet(false),
     mPartID(0),
     mDidFireDOMContentLoaded(true),
     mHasScrollLinkedEffect(false),
     mUserHasInteracted(false)
 {
   SetInDocument();
 
-  PR_INIT_CLIST(&mDOMMediaQueryLists);  
+  PR_INIT_CLIST(&mDOMMediaQueryLists);
 }
 
 // NOTE! nsDocument::operator new() zeroes out all members, so don't
 // bother initializing members to 0.
 
 nsDocument::nsDocument(const char* aContentType)
   : nsIDocument()
   , mAnimatingImages(true)
@@ -13179,17 +13179,17 @@ nsDocument::ReportUseCounters()
     Telemetry::Accumulate(Telemetry::CONTENT_DOCUMENTS_DESTROYED, 1);
     if (IsTopLevelContentDocument()) {
       Telemetry::Accumulate(Telemetry::TOP_LEVEL_CONTENT_DOCUMENTS_DESTROYED, 1);
     }
 
     for (int32_t c = 0;
          c < eUseCounter_Count; ++c) {
       UseCounter uc = static_cast<UseCounter>(c);
-      
+
       Telemetry::ID id =
         static_cast<Telemetry::ID>(Telemetry::HistogramFirstUseCounter + uc * 2);
       bool value = GetUseCounter(uc);
 
       if (value) {
         if (sDebugUseCounters) {
           const char* name = Telemetry::GetHistogramName(id);
           if (name) {