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

Unified Diff: content/public/test/render_view_test.cc

Issue 1118383002: Shut down RenderViewTest's scheduler before Blink is. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: 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 6b7d7f2ebff13df48da3cea5bd47a9c498393af2..16d8a8d50c3c8e2e4e90fb82fa3e0c6f253d05ab 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -119,6 +119,11 @@ blink::Platform* RenderViewTest::RendererBlinkPlatformImplNoSandbox::Get() {
return blink_platform_impl_.get();
}
+scheduler::RendererScheduler*
+ RenderViewTest::RendererBlinkPlatformImplNoSandbox::Scheduler() {
+ return renderer_scheduler_.get();
+}
+
RenderViewTest::RenderViewTest()
: view_(NULL) {
}
@@ -280,6 +285,7 @@ void RenderViewTest::TearDown() {
autorelease_pool_.reset(NULL);
#endif
+ blink_platform_impl_.Scheduler()->Shutdown();
Sami 2015/05/01 20:46:31 This is a good idea since it matches what we do in
blink::shutdown();
platform_->PlatformUninitialize();
« content/public/test/render_view_test.h ('K') | « content/public/test/render_view_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698