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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.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 | « content/public/test/render_view_test.cc ('k') | content/shell/renderer/layout_test/leak_detector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index cfcfcf215eb025e6f4a0dbe10fb993b1607d1a82..30310746ef654f6a12dfda52c47180307fe9626b 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -1015,8 +1015,8 @@ void BlinkTestRunner::OnNotifyDone() {
}
void BlinkTestRunner::OnTryLeakDetection() {
- WebLocalFrame* main_frame =
- render_view()->GetWebView()->mainFrame()->toWebLocalFrame();
+ blink::WebFrame* main_frame =
+ render_view()->GetWebView()->mainFrame();
DCHECK_EQ(GURL(url::kAboutBlankURL), GURL(main_frame->document().url()));
DCHECK(!main_frame->isLoading());
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/shell/renderer/layout_test/leak_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698