Index: Source/core/rendering/shapes/ShapeInsideInfo.cpp |
diff --git a/Source/core/rendering/shapes/ShapeInsideInfo.cpp b/Source/core/rendering/shapes/ShapeInsideInfo.cpp |
index 76bc0b7117787eff5b72f5768c1cf899facd232b..533dccc9ebd1355f7ca80f2ea59fefe8f1ca1d1f 100644 |
--- a/Source/core/rendering/shapes/ShapeInsideInfo.cpp |
+++ b/Source/core/rendering/shapes/ShapeInsideInfo.cpp |
@@ -49,7 +49,7 @@ bool ShapeInsideInfo::isEnabledFor(const RenderBlock& renderer) |
switch (shapeValue->type()) { |
case ShapeValue::Shape: |
- return shapeValue->shape() && shapeValue->shape()->type() != BasicShape::BasicShapeInsetRectangleType && shapeValue->shape()->type() != BasicShape::BasicShapeInsetType; |
+ return shapeValue->shape() && shapeValue->shape()->type() != BasicShape::BasicShapeInsetType; |
case ShapeValue::Image: |
return shapeValue->isImageValid() && checkShapeImageOrigin(renderer.document(), *(shapeValue->image()->cachedImage())); |
case ShapeValue::Box: |