Bug 1440694. Make nsDisplayText final. r=mattwoodrow
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Tue, 20 Feb 2018 15:58:39 -0500
changeset 410614 d3feb62465568e23b28f53c7665541149b8f0346
parent 410613 d0cb92a08c3633877917713f7a17d63d73614957
child 410615 e8407ca5e3923ae675ad07fee03f1bd889e08f1b
push id101538
push userjmuizelaar@mozilla.com
push dateThu, 29 Mar 2018 14:57:03 +0000
treeherdermozilla-inbound@d3feb6246556 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1440694
milestone61.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 1440694. Make nsDisplayText final. r=mattwoodrow
layout/generic/nsTextFrame.cpp
--- a/layout/generic/nsTextFrame.cpp
+++ b/layout/generic/nsTextFrame.cpp
@@ -4894,17 +4894,17 @@ nsTextFrame::CharacterDataChanged(const 
       textFrame->ClearTextRuns();
       textFrame = textFrame->GetNextContinuation();
     }
   }
 
   return NS_OK;
 }
 
-class nsDisplayText : public nsCharClipDisplayItem {
+class nsDisplayText final : public nsCharClipDisplayItem {
 public:
   nsDisplayText(nsDisplayListBuilder* aBuilder, nsTextFrame* aFrame,
                 const Maybe<bool>& aIsSelected);
 #ifdef NS_BUILD_REFCNT_LOGGING
   virtual ~nsDisplayText() {
     MOZ_COUNT_DTOR(nsDisplayText);
   }
 #endif