Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
index fb1f76d66f3b46d6feebf5214fac23659f535882..1aeca106f4747a34c6b96f6cab09c9375ebdb3b4 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
@@ -113,10 +113,8 @@ static LayoutRect mapLocalRectToPaintInvalidationBacking( |
PropertyTreeState currentTreeState( |
context.treeBuilderContext.current.transform, |
context.treeBuilderContext.current.clip, nullptr, nullptr); |
- bool success = false; |
result = LayoutRect(geometryMapper.sourceToDestinationVisualRect( |
- rect, currentTreeState, *containerContentsProperties, success)); |
- DCHECK(success); |
+ rect, currentTreeState, *containerContentsProperties)); |
} |
// Convert the result to the container's contents space. |
@@ -176,14 +174,12 @@ LayoutPoint PaintInvalidator::computeLocationInBacking( |
->contentsProperties() |
->transform(); |
if (context.treeBuilderContext.current.transform != containerTransform) { |
- bool success = false; |
point = LayoutPoint(m_geometryMapper |
.sourceToDestinationRect( |
FloatRect(FloatPoint(point), FloatSize()), |
context.treeBuilderContext.current.transform, |
- containerTransform, success) |
+ containerTransform) |
.location()); |
- DCHECK(success); |
} |
// Convert the result to the container's contents space. |