Bug 1544216 Part 6 - Make function declaration and definition parameter names match r=birtles
authorlongsonr <longsonr@gmail.com>
Sat, 27 Apr 2019 08:57:46 +0100
changeset 471547 2a2a6da7e8990127f5dfa5a2e12d30bb627357a9
parent 471546 9eeeb4f28ddc43ee8b15b13ccc2ceb21b1af7bbb
child 471548 1181d18ea08c28012dea5243f24ca38df9d88dab
push id112928
push userlongsonr@gmail.com
push dateSat, 27 Apr 2019 07:58:13 +0000
treeherdermozilla-inbound@1181d18ea08c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs1544216
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1544216 Part 6 - Make function declaration and definition parameter names match r=birtles
dom/smil/SMILTimeValueSpec.h
dom/smil/SMILTimedElement.h
--- a/dom/smil/SMILTimeValueSpec.h
+++ b/dom/smil/SMILTimeValueSpec.h
@@ -66,18 +66,18 @@ class SMILTimeValueSpec {
   void Traverse(nsCycleCollectionTraversalCallback* aCallback);
   void Unlink();
 
  protected:
   void UpdateReferencedElement(Element* aFrom, Element* aTo);
   void UnregisterFromReferencedElement(Element* aElement);
   SMILTimedElement* GetTimedElement(Element* aElement);
   bool IsWhitelistedEvent();
-  void RegisterEventListener(Element* aElement);
-  void UnregisterEventListener(Element* aElement);
+  void RegisterEventListener(Element* aTarget);
+  void UnregisterEventListener(Element* aTarget);
   void HandleEvent(Event* aEvent);
   bool CheckRepeatEventDetail(Event* aEvent);
   SMILTimeValue ConvertBetweenTimeContainers(
       const SMILTimeValue& aSrcTime, const SMILTimeContainer* aSrcContainer);
   bool ApplyOffset(SMILTimeValue& aTime) const;
 
   SMILTimedElement* mOwner;
   bool mIsBegin;  // Indicates if *we* are a begin spec,
--- a/dom/smil/SMILTimedElement.h
+++ b/dom/smil/SMILTimedElement.h
@@ -170,22 +170,22 @@ class SMILTimedElement {
    */
   void RemoveInstanceTime(SMILInstanceTime* aInstanceTime, bool aIsBegin);
 
   /**
    * Removes all the instance times associated with the given
    * SMILTimeValueSpec object. Used when an ID assignment changes and hence
    * all the previously associated instance times become invalid.
    *
-   * @param aSpec    The SMILTimeValueSpec object whose created
+   * @param aCreator The SMILTimeValueSpec object whose created
    *                 SMILInstanceTime's should be removed.
    * @param aIsBegin true if the times to be removed represent begin
    *                 times or false if they are end times.
    */
-  void RemoveInstanceTimesForCreator(const SMILTimeValueSpec* aSpec,
+  void RemoveInstanceTimesForCreator(const SMILTimeValueSpec* aCreator,
                                      bool aIsBegin);
 
   /**
    * Sets the object that will be called by this timed element each time it is
    * sampled.
    *
    * In Schmitz's model it is possible to associate several time clients with
    * a timed element but for now we only allow one.