Bug 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h.
authorSerge Gautherie <sgautherie.bz@free.fr>
Thu, 14 Apr 2011 12:47:41 +0200
changeset 68462 c72ec462f70ce56a7774809bd5131c16cee8e96b
parent 68461 1203611ef3dcc53c730ad127cdfbe5b93e7e1053
child 68463 66656b3d818f70fd88fd24c4a53aefbae7fe12ac
push id11
push userffxbld
push dateThu, 11 Aug 2011 21:43:38 +0000
treeherdermozilla-release@cf0a29826586 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs508760
milestone6.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 508760 - Remove MSVC6 support from the tree; (Jv1) nsEventQueue.h. r=benjamin.
xpcom/threads/nsEventQueue.h
--- a/xpcom/threads/nsEventQueue.h
+++ b/xpcom/threads/nsEventQueue.h
@@ -91,17 +91,16 @@ private:
   PRBool IsEmpty() {
     return !mHead || (mHead == mTail && mOffsetHead == mOffsetTail);
   }
 
   enum { EVENTS_PER_PAGE = 250 };
 
   // Page objects are linked together to form a simple deque.
 
-  struct Page; friend struct Page; // VC6!
   struct Page {
     struct Page *mNext;
     nsIRunnable *mEvents[EVENTS_PER_PAGE];
   };
 
   static Page *NewPage() {
     return static_cast<Page *>(calloc(1, sizeof(Page)));
   }