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

Unified Diff: content/shell/browser/webkit_test_controller.cc

Issue 142043010: Modify the format output when a DOM-object leak is detected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | content/shell/common/leak_detection_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/webkit_test_controller.cc
diff --git a/content/shell/browser/webkit_test_controller.cc b/content/shell/browser/webkit_test_controller.cc
index 9a3b92b041375f98f666b757004b76a5f2c3cab8..5472fdd3f7393c2b9e40afdebdb42a46a7a16592 100644
--- a/content/shell/browser/webkit_test_controller.cc
+++ b/content/shell/browser/webkit_test_controller.cc
@@ -677,13 +677,9 @@ void WebKitTestController::OnLeakDetectionDone(
return;
}
- printer_->AddErrorMessage("#LEAK");
printer_->AddErrorMessage(
- base::StringPrintf(" Number of live documents: %d",
- result.number_of_live_documents));
- printer_->AddErrorMessage(
- base::StringPrintf(" Number of live nodes: %d",
- result.number_of_live_nodes));
+ base::StringPrintf("#LEAK - renderer pid %d (%s)", current_pid_,
+ result.detail.c_str()));
DiscardMainWindow();
}
« no previous file with comments | « no previous file | content/shell/common/leak_detection_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698