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

Unified Diff: Source/core/inspector/InspectorHighlight.cpp

Issue 1104243003: Oilpan: put ClientRect(List) on the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove transition types uses also Created 5 years, 8 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
Index: Source/core/inspector/InspectorHighlight.cpp
diff --git a/Source/core/inspector/InspectorHighlight.cpp b/Source/core/inspector/InspectorHighlight.cpp
index cc0a7373ce6607c0c57c7170d6ac392cdbd9ed8e..8ec26f01d07a3a4b1c5ef0a5ad0c00c86794a7c1 100644
--- a/Source/core/inspector/InspectorHighlight.cpp
+++ b/Source/core/inspector/InspectorHighlight.cpp
@@ -261,7 +261,7 @@ PassRefPtr<JSONObject> buildElementInfo(Element* element)
// Render the getBoundingClientRect() data in the tooltip
// to be consistent with the rulers (see http://crbug.com/262338).
- RefPtrWillBeRawPtr<ClientRect> boundingBox = element->getBoundingClientRect();
+ ClientRect* boundingBox = element->getBoundingClientRect();
elementInfo->setString("nodeWidth", String::number(boundingBox->width()));
elementInfo->setString("nodeHeight", String::number(boundingBox->height()));

Powered by Google App Engine
This is Rietveld 408576698