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

Unified Diff: content/shell/renderer/layout_test/leak_detector.cc

Issue 1715203002: Stop async spellchecker before running the leak detector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + parameterize WebLeakDetector over WebFrames instead Created 4 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
Index: content/shell/renderer/layout_test/leak_detector.cc
diff --git a/content/shell/renderer/layout_test/leak_detector.cc b/content/shell/renderer/layout_test/leak_detector.cc
index 6f857232374df958d11c97c846918591b59bca4c..f5cb3f75aa9c784e4e17b826bd39d3cc79cdfa14 100644
--- a/content/shell/renderer/layout_test/leak_detector.cc
+++ b/content/shell/renderer/layout_test/leak_detector.cc
@@ -59,8 +59,8 @@ LeakDetector::LeakDetector(BlinkTestRunner* test_runner)
LeakDetector::~LeakDetector() {
}
-void LeakDetector::TryLeakDetection(blink::WebLocalFrame* frame) {
- web_leak_detector_->prepareForLeakDetection();
+void LeakDetector::TryLeakDetection(blink::WebFrame* frame) {
+ web_leak_detector_->prepareForLeakDetection(frame);
web_leak_detector_->collectGarbageAndReport();
}

Powered by Google App Engine
This is Rietveld 408576698