Index: Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
diff --git a/Source/platform/graphics/GraphicsLayerDebugInfo.cpp b/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
index 63c7ee03d272520fa248ac333d3dc8ecae37dbc2..0bdeacfd680a6379d7f2c01adec00487af12b3aa 100644 |
--- a/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
+++ b/Source/platform/graphics/GraphicsLayerDebugInfo.cpp |
@@ -66,8 +66,8 @@ void GraphicsLayerDebugInfo::appendLayoutRects(JSONObject* jsonObject) const |
RefPtr<JSONArray> rectArray = JSONArray::create(); |
rectArray->pushNumber(rect.x().toFloat()); |
rectArray->pushNumber(rect.y().toFloat()); |
- rectArray->pushNumber(rect.maxX().toFloat()); |
- rectArray->pushNumber(rect.maxY().toFloat()); |
+ rectArray->pushNumber(rect.width().toFloat()); |
+ rectArray->pushNumber(rect.height().toFloat()); |
rectContainer->setArray("geometry_rect", rectArray); |
jsonArray->pushObject(rectContainer); |
} |