Index: Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.cpp |
diff --git a/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.cpp b/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.cpp |
index 681e849a3c474a9c50f430eeced73b5b5f326cd5..f23c5182a0dfe7fbd6eba2d20b2bf819f4c7fd43 100644 |
--- a/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.cpp |
+++ b/Source/platform/graphics/paint/DisplayItemTransformTreeBuilder.cpp |
@@ -44,7 +44,7 @@ static BeginDisplayItemClassification classifyBeginItem(const DisplayItem& begin |
{ |
ASSERT(beginDisplayItem.isBegin()); |
- if (beginDisplayItem.type() == DisplayItem::BeginTransform3D) { |
+ if (DisplayItem::isTransform3DType(beginDisplayItem.type())) { |
const auto& begin3D = static_cast<const BeginTransform3DDisplayItem&>(beginDisplayItem); |
*transform = begin3D.transform(); |
if (transform->isIdentityOr2DTranslation()) |