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

Unified Diff: content/renderer/render_process_impl.h

Issue 2491823005: Initialize TaskScheduler in renderers. (Closed)
Patch Set: do not enable in this CL Created 4 years, 1 month 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/renderer/render_process_impl.h
diff --git a/content/renderer/render_process_impl.h b/content/renderer/render_process_impl.h
index 768ef7d451b8fd9db839824ade1b3742a90361c5..a622d9bb7868a8238511b7b8ff01b506e72ed806 100644
--- a/content/renderer/render_process_impl.h
+++ b/content/renderer/render_process_impl.h
@@ -25,7 +25,10 @@ class RenderProcessImpl : public RenderProcess {
private:
// Bitwise-ORed set of extra bindings that have been enabled anywhere in this
// process. See BindingsPolicy for details.
- int enabled_bindings_;
+ int enabled_bindings_ = 0;
+
+ // True if the constructor initialized a TaskScheduler.
+ bool initialized_task_scheduler_ = false;
DISALLOW_COPY_AND_ASSIGN(RenderProcessImpl);
};

Powered by Google App Engine
This is Rietveld 408576698