Bug 1298318 followup - Add notice comment in SVGImageContext. r=dholbert
authorKevin Chen <kechen@mozilla.com>
Wed, 14 Sep 2016 12:28:54 -0700
changeset 355264 a387818ed08a57cc9d292c19dbd0a66f37ee94c3
parent 355263 056e578d03bb079c121944b20987e5442ceca367
child 355265 29af101880db7ce7f5f87f58e1ff20988c1c5fc3
child 355318 3356000cec59f979f5d4aa384854343a8d184484
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1298318
milestone51.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 1298318 followup - Add notice comment in SVGImageContext. r=dholbert Comment-only, so DONTBUILD (and KWierso says it's OK to land this on CLOSED TREE) MozReview-Commit-ID: BKxFHeXxipf
layout/svg/SVGImageContext.h
--- a/layout/svg/SVGImageContext.h
+++ b/layout/svg/SVGImageContext.h
@@ -71,16 +71,17 @@ public:
                        mIsPaintingSVGImageElement);
   }
 
 private:
   static uint32_t HashPAR(const SVGPreserveAspectRatio& aPAR) {
     return aPAR.Hash();
   }
 
+  // NOTE: When adding new member-vars, remember to update Hash() & operator==.
   CSSIntSize                    mViewportSize;
   Maybe<SVGPreserveAspectRatio> mPreserveAspectRatio;
   gfxFloat                      mGlobalOpacity;
   bool                          mIsPaintingSVGImageElement;
 };
 
 } // namespace mozilla