Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan
authorSiddharth Agarwal [<sagarwal@mozilla.com>
Wed, 13 Jun 2012 10:43:38 -0400
changeset 101393 446d1d9fb5168910a496d090bb1dc1263a41139f
parent 101392 7f07a489b92acc418c93a41213fc604bff0fabb9
child 101394 a55eea2c294d6cada5beee638bb4a3a4797cbc19
push id1316
push userakeybl@mozilla.com
push dateMon, 27 Aug 2012 22:37:00 +0000
treeherdermozilla-beta@db4b09302ee2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs764376
milestone16.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 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan
layout/base/nsIPresShell.h
layout/base/nsPresArena.h
--- a/layout/base/nsIPresShell.h
+++ b/layout/base/nsIPresShell.h
@@ -73,17 +73,17 @@ struct nsIntPoint;
 struct nsIntRect;
 class nsRegion;
 class nsRefreshDriver;
 class nsARefreshObserver;
 #ifdef ACCESSIBILITY
 class nsAccessibilityService;
 #endif
 class nsIWidget;
-class nsArenaMemoryStats;
+struct nsArenaMemoryStats;
 
 typedef short SelectionType;
 typedef PRUint64 nsFrameState;
 
 namespace mozilla {
 namespace dom {
 class Element;
 } // namespace dom
--- a/layout/base/nsPresArena.h
+++ b/layout/base/nsPresArena.h
@@ -8,17 +8,17 @@
 #ifndef nsPresArena_h___
 #define nsPresArena_h___
 
 #include "nscore.h"
 #include "nsQueryFrame.h"
 
 #include "mozilla/StandardInteger.h"
 
-class nsArenaMemoryStats;
+struct nsArenaMemoryStats;
 
 // Uncomment this to disable arenas, instead forwarding to
 // malloc for every allocation.
 //#define DEBUG_TRACEMALLOC_PRESARENA 1
 
 // The debugging version of nsPresArena does not free all the memory it
 // allocated when the arena itself is destroyed.
 #ifdef DEBUG_TRACEMALLOC_PRESARENA