Index: Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
diff --git a/Source/platform/graphics/GraphicsLayerDebugInfo.cpp b/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
index 63c7ee03d272520fa248ac333d3dc8ecae37dbc2..dfe18612270c2ba3d76817f1ecf3b7e549956488 100644 |
--- a/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
+++ b/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
@@ -83,8 +83,8 @@ void GraphicsLayerDebugInfo::appendAnnotatedInvalidateRects(JSONObject* jsonObje |
const FloatRect& rect = annotatedRect.rect; |
rectArray->pushNumber(rect.x()); |
rectArray->pushNumber(rect.y()); |
- rectArray->pushNumber(rect.maxX()); |
- rectArray->pushNumber(rect.maxY()); |
+ rectArray->pushNumber(rect.width()); |
+ rectArray->pushNumber(rect.height()); |
rectContainer->setArray("geometry_rect", rectArray); |
rectContainer->setString("reason", paintInvalidationReasonToString(annotatedRect.reason)); |
jsonArray->pushObject(rectContainer); |