Bug 1511842 - Remove unused nsLayoutStaticsRef. r=TYLin
☠☠ backed out by 5e260e3fd46f ☠ ☠
authorCameron McCormack <cam@mcc.id.au>
Tue, 04 Dec 2018 02:34:01 +0000
changeset 508495 b118f8ec47f530ab3cf08d0bc6c9af7e1ffe4af8
parent 508494 f7fafed0e4a9c1d8e1895ddaf0b21f6a6a160c0e
child 508496 5e260e3fd46fae7b38bb699a74fe499fa8d3d033
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersTYLin
bugs1511842
milestone65.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 1511842 - Remove unused nsLayoutStaticsRef. r=TYLin Differential Revision: https://phabricator.services.mozilla.com/D13684
layout/build/nsLayoutStatics.h
--- a/layout/build/nsLayoutStatics.h
+++ b/layout/build/nsLayoutStatics.h
@@ -48,15 +48,9 @@ class nsLayoutStatics {
   // not to be called!
   nsLayoutStatics();
 
   static void Shutdown();
 
   static nsrefcnt sLayoutStaticRefcnt;
 };
 
-class nsLayoutStaticsRef {
- public:
-  nsLayoutStaticsRef() { nsLayoutStatics::AddRef(); }
-  ~nsLayoutStaticsRef() { nsLayoutStatics::Release(); }
-};
-
 #endif  // nsLayoutStatics_h__