Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1888)

Unified Diff: Source/platform/graphics/GraphicsLayerDebugInfo.cpp

Issue 659003002: annotatedInvalidationRects should be in format x,y,w,h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698