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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 553483005: Revert of Forward input and compositing tasks to the Blink scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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/render_thread_impl.h ('k') | content/renderer/scheduler_proxy_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 461ff0ebe650767e22a0f161f1b0639ed2e6b24a..86429d68d1ef625621b7afcd5f78fa1b2e7d6c62 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -21,7 +21,6 @@
#include "base/metrics/histogram.h"
#include "base/metrics/stats_table.h"
#include "base/path_service.h"
-#include "base/single_thread_task_runner.h"
#include "base/strings/string16.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_tokenizer.h"
@@ -92,7 +91,6 @@
#include "content/renderer/render_process_impl.h"
#include "content/renderer/render_view_impl.h"
#include "content/renderer/renderer_webkitplatformsupport_impl.h"
-#include "content/renderer/scheduler_proxy_task_runner.h"
#include "content/renderer/service_worker/embedded_worker_context_message_filter.h"
#include "content/renderer/service_worker/embedded_worker_dispatcher.h"
#include "content/renderer/shared_worker/embedded_shared_worker_stub.h"
@@ -107,7 +105,6 @@
#include "net/base/net_util.h"
#include "skia/ext/event_tracer_impl.h"
#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/WebKit/public/platform/WebThread.h"
#include "third_party/WebKit/public/web/WebColorName.h"
#include "third_party/WebKit/public/web/WebDatabase.h"
#include "third_party/WebKit/public/web/WebDocument.h"
@@ -654,9 +651,6 @@
// hold pointers to V8 objects (e.g., via pending requests).
main_thread_indexed_db_dispatcher_.reset();
- main_thread_compositor_task_runner_ = NULL;
- main_thread_input_task_runner_ = NULL;
-
if (webkit_platform_support_)
blink::shutdown();
@@ -839,11 +833,6 @@
webkit_platform_support_.reset(new RendererWebKitPlatformSupportImpl);
blink::initialize(webkit_platform_support_.get());
- main_thread_compositor_task_runner_ =
- make_scoped_refptr(new SchedulerProxyTaskRunner<
- &blink::WebSchedulerProxy::postCompositorTask>());
- main_thread_input_task_runner_ = make_scoped_refptr(
- new SchedulerProxyTaskRunner<&blink::WebSchedulerProxy::postInputTask>());
v8::Isolate* isolate = blink::mainThreadIsolate();
@@ -883,8 +872,8 @@
}
#endif
if (!input_handler_manager_client) {
- input_event_filter_ = new InputEventFilter(
- this, main_thread_input_task_runner_, compositor_message_loop_proxy_);
+ input_event_filter_ =
+ new InputEventFilter(this, compositor_message_loop_proxy_);
AddFilter(input_event_filter_.get());
input_handler_manager_client = input_event_filter_.get();
}
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/scheduler_proxy_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698