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

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: fix annotatedRects not LayoutRects 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..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);
« 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