Index: Source/core/css/BasicShapeFunctions.cpp |
diff --git a/Source/core/css/BasicShapeFunctions.cpp b/Source/core/css/BasicShapeFunctions.cpp |
index d482a76a4d9a7024d75172e299a34212aeb7ffbb..233ef635429358fe3da022010adc452806cb2aa8 100644 |
--- a/Source/core/css/BasicShapeFunctions.cpp |
+++ b/Source/core/css/BasicShapeFunctions.cpp |
@@ -176,9 +176,6 @@ PassRefPtrWillBeRawPtr<CSSValue> valueForBasicShape(const RenderStyle& style, co |
break; |
} |
- if (basicShape->layoutBox() != BoxMissing) |
- basicShapeValue->setLayoutBox(pool.createValue(basicShape->layoutBox())); |
- |
return pool.createValue(basicShapeValue.release()); |
} |
@@ -385,9 +382,6 @@ PassRefPtr<BasicShape> basicShapeForValue(const StyleResolverState& state, const |
break; |
} |
- if (basicShapeValue->layoutBox()) |
- basicShape->setLayoutBox(LayoutBox(*basicShapeValue->layoutBox())); |
- |
return basicShape.release(); |
} |