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

Unified Diff: content/public/test/render_view_test.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
« no previous file with comments | « no previous file | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index c622ee8a2cba8c002bf9215fc8ccbfdd9c29681d..2f17fa8fcc94c8dbc29110fad3bf0b1101c9fbaa 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -389,7 +389,7 @@ void RenderViewTest::TearDown() {
scoped_ptr<blink::WebLeakDetector> leak_detector =
make_scoped_ptr(blink::WebLeakDetector::create(this));
- leak_detector->prepareForLeakDetection();
+ leak_detector->prepareForLeakDetection(view_->GetWebView()->mainFrame());
view_ = NULL;
mock_process_.reset();
« no previous file with comments | « no previous file | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698