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

Unified Diff: content/renderer/renderer_main.cc

Issue 242103007: NOT FOR REVIEW - prioritize fonts Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « content/renderer/renderer_high_priority_task_queue.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main.cc
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc
index bc538fd6513965500552334c317e339fcd6de575..a60c75cbde2feab7cf581e86ea89343e74acce6c 100644
--- a/content/renderer/renderer_main.cc
+++ b/content/renderer/renderer_main.cc
@@ -9,6 +9,7 @@
#include "base/debug/trace_event.h"
#include "base/i18n/rtl.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
@@ -31,6 +32,9 @@
#include "content/renderer/render_process_impl.h"
#include "content/renderer/render_thread_impl.h"
#include "content/renderer/renderer_main_platform_delegate.h"
+
+#include "content/renderer/renderer_high_priority_task_queue.h"
+
#include "ui/base/ui_base_switches.h"
#if defined(OS_ANDROID)
@@ -166,7 +170,7 @@ int RendererMain(const MainFunctionParams& parameters) {
base::MessageLoop main_message_loop(pump.Pass());
#else
// The main message loop of the renderer services doesn't have IO or UI tasks.
- base::MessageLoop main_message_loop;
+ content::MessageLoopRendererMainThread main_message_loop;
#endif
main_message_loop.AddTaskObserver(&task_observer);
« no previous file with comments | « content/renderer/renderer_high_priority_task_queue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698