(no bug) Fix typo in copypasted assertion text in nsStyleBasicShape accessors. rs=krit over IRC
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 19 Dec 2014 10:12:31 -0800
changeset 246512 b6aba55876988ea7c5c3b0c17ebb4275984dc784
parent 246511 056b301fd9829cb40337cf7f85fd375b1daffec6
child 246513 a6c8c4ccb5e7caffcf64b3c6ce75cae628014fa1
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskrit
milestone37.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
(no bug) Fix typo in copypasted assertion text in nsStyleBasicShape accessors. rs=krit over IRC
layout/style/nsStyleStruct.h
--- a/layout/style/nsStyleStruct.h
+++ b/layout/style/nsStyleStruct.h
@@ -2884,21 +2884,21 @@ public:
     NS_FOR_CSS_HALF_CORNERS(corner) {
       if (mRadius.Get(corner) != zero) {
         return true;
       }
     }
     return false;
   }
   nsStyleCorners& GetRadius() {
-    NS_ASSERTION(mType == eInset, "expected circle or ellipse");
+    NS_ASSERTION(mType == eInset, "expected inset");
     return mRadius;
   }
   const nsStyleCorners& GetRadius() const {
-    NS_ASSERTION(mType == eInset, "expected circle or ellipse");
+    NS_ASSERTION(mType == eInset, "expected inset");
     return mRadius;
   }
 
   // mCoordinates has coordinates for polygon or radii for
   // ellipse and circle.
   nsTArray<nsStyleCoord>& Coordinates()
   {
     return mCoordinates;