Bug 586130 - Warning C4099 fixes (layout). r=dholbert a=bsmedberg
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 20 Jan 2011 19:49:09 -0800
changeset 61035 77e9633cb138f424c25c1faff7ca2a719203d9a0
parent 61034 66678137e920fdc20d352b4844b2a03495af83b4
child 61036 d689ed2ebe55a4da4f84e30dc97a2e797715a270
push idunknown
push userunknown
push dateunknown
reviewersdholbert, bsmedberg
bugs586130
milestone2.0b10pre
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 586130 - Warning C4099 fixes (layout). r=dholbert a=bsmedberg
layout/style/nsTransitionManager.h
--- a/layout/style/nsTransitionManager.h
+++ b/layout/style/nsTransitionManager.h
@@ -99,17 +99,17 @@ public:
   virtual nsRestyleHint
     HasAttributeDependentStyle(AttributeRuleProcessorData* aData);
   virtual PRBool MediumFeaturesChanged(nsPresContext* aPresContext);
 
   // nsARefreshObserver
   virtual void WillRefresh(mozilla::TimeStamp aTime);
 
 private:
-  friend class ElementTransitions; // for TransitionsRemoved
+  friend struct ElementTransitions; // for TransitionsRemoved
 
   void ConsiderStartingTransition(nsCSSProperty aProperty,
                                   const nsTransition& aTransition,
                                   mozilla::dom::Element *aElement,
                                   ElementTransitions *&aElementTransitions,
                                   nsStyleContext *aOldStyleContext,
                                   nsStyleContext *aNewStyleContext,
                                   PRBool *aStartedAny,