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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2785883004: Add missing TaskScheduler on tests using RendereWidgetHostImpl (Closed)
Patch Set: yet another mac fix Created 3 years, 9 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/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 90afecd8290a9633cee6f2b9de069c68d3f5951a..dc0c48ebb9edace1d115fabe9baa698efc4d8542 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -299,6 +299,8 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate,
CHECK_NE(MSG_ROUTING_NONE, routing_id_);
latency_tracker_.SetDelegate(delegate_);
+ DCHECK(base::TaskScheduler::GetInstance())
+ << "Ref. Prerequisite section of post_task.h";
#if defined(OS_WIN)
// Update the display color profile cache so that it is likely to be up to
// date when the renderer process requests the color profile.

Powered by Google App Engine
This is Rietveld 408576698