Bug 1273042 - Part 4: Drop nsLayoutUtils::GetAnimationContent declaration. r?birtles. draft
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Wed, 01 Jun 2016 10:53:47 +0900
changeset 373655 0073b8e004cae8fe2654440e2409412e95b51a26
parent 373654 86b561b89f0970b23b3a706b8ee5fa74effb2210
child 522442 78dc4c6681a05a384477716fef3b4f19aee05814
push id19806
push userbmo:hiikezoe@mozilla-japan.org
push dateWed, 01 Jun 2016 01:55:11 +0000
reviewersbirtles
bugs1273042, 771367
milestone49.0a1
Bug 1273042 - Part 4: Drop nsLayoutUtils::GetAnimationContent declaration. r?birtles. MozReview-Commit-ID: CE1CCkiCnW2 The implementation of nsLayoutUtils::GetAnimationContent has been dropped in bug 771367.
layout/base/nsLayoutUtils.h
--- a/layout/base/nsLayoutUtils.h
+++ b/layout/base/nsLayoutUtils.h
@@ -2222,28 +2222,16 @@ public:
    *    (void)SizeOfTextRunsForFrames(rootFrame, nullptr, true);
    *    total = SizeOfTextRunsForFrames(rootFrame, mallocSizeOf, false);
    */
   static size_t SizeOfTextRunsForFrames(nsIFrame* aFrame,
                                         mozilla::MallocSizeOf aMallocSizeOf,
                                         bool clear);
 
   /**
-   * Given a frame with possibly animated content, finds the content node
-   * that contains its animations as well as the frame's pseudo-element type
-   * relative to the resulting content node. Returns true if animated content
-   * was found, otherwise it returns false and the output parameters are
-   * undefined.
-   */
-  static bool GetAnimationContent(const nsIFrame* aFrame,
-                                  nsIContent* &aContentResult,
-                                  mozilla::CSSPseudoElementType
-                                    &aPseudoTypeResult);
-
-  /**
    * Returns true if the frame has current (i.e. running or scheduled-to-run)
    * animations or transitions for the property.
    */
   static bool HasCurrentAnimationOfProperty(const nsIFrame* aFrame,
                                             nsCSSProperty aProperty);
 
   /**
    * Returns true if the frame has any current CSS transitions.