Bug 1277154 followup, actually fix the bustage
authorCameron McCormack <cam@mcc.id.au>
Wed, 08 Jun 2016 09:21:52 +1000
changeset 301012 9adc60621a4a86328f0a7db5e77b77f649a02505
parent 301011 f7fb88074a1f9b6c25dd181bc9dd24b3a895191f
child 301013 09e6e28c81971e064c1117099ddf1dda027fa538
push id30324
push usercbook@mozilla.com
push dateWed, 08 Jun 2016 09:58:15 +0000
treeherdermozilla-central@f8ad071a6e14 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1277154
milestone50.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 1277154 followup, actually fix the bustage
layout/style/nsRuleNode.cpp
--- a/layout/style/nsRuleNode.cpp
+++ b/layout/style/nsRuleNode.cpp
@@ -9409,37 +9409,37 @@ nsRuleNode::ComputeSVGData(void* aStartS
   const nsCSSValue* strokeDasharrayValue = aRuleData->ValueForStrokeDasharray();
   switch (strokeDasharrayValue->GetUnit()) {
   case eCSSUnit_Null:
     break;
 
   case eCSSUnit_Inherit:
   case eCSSUnit_Unset:
     conditions.SetUncacheable();
-    svg->SetStrokeDashoffsetFromObject(parentSVG->StrokeDashoffsetFromObject());
+    svg->SetStrokeDasharrayFromObject(parentSVG->StrokeDasharrayFromObject());
     svg->mStrokeDasharray = parentSVG->mStrokeDasharray;
     break;
 
   case eCSSUnit_Enumerated:
     MOZ_ASSERT(strokeDasharrayValue->GetIntValue() ==
                      NS_STYLE_STROKE_PROP_CONTEXT_VALUE,
                "Unknown keyword for stroke-dasharray");
-    svg->SetStrokeDashoffsetFromObject(true);
+    svg->SetStrokeDasharrayFromObject(true);
     svg->mStrokeDasharray.Clear();
     break;
 
   case eCSSUnit_Initial:
   case eCSSUnit_None:
-    svg->SetStrokeDashoffsetFromObject(false);
+    svg->SetStrokeDasharrayFromObject(false);
     svg->mStrokeDasharray.Clear();
     break;
 
   case eCSSUnit_List:
   case eCSSUnit_ListDep: {
-    svg->SetStrokeDashoffsetFromObject(false);
+    svg->SetStrokeDasharrayFromObject(false);
     svg->mStrokeDasharray.Clear();
 
     // count number of values
     const nsCSSValueList *value = strokeDasharrayValue->GetListValue();
     uint32_t strokeDasharrayLength = ListLength(value);
 
     MOZ_ASSERT(strokeDasharrayLength != 0, "no dasharray items");