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

Unified Diff: content/renderer/input/input_event_filter_unittest.cc

Issue 363383002: Forward input tasks to the Blink scheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only forward input tasks for now. 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/input/input_event_filter.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_event_filter_unittest.cc
diff --git a/content/renderer/input/input_event_filter_unittest.cc b/content/renderer/input/input_event_filter_unittest.cc
index a234e793fdc29a82ab270086fdfd123a69b041ef..d181a03d9299e3660e5970b382dda6dd9e46f334 100644
--- a/content/renderer/input/input_event_filter_unittest.cc
+++ b/content/renderer/input/input_event_filter_unittest.cc
@@ -126,9 +126,9 @@ void AddEventsToFilter(IPC::MessageFilter* message_filter,
class InputEventFilterTest : public testing::Test {
public:
virtual void SetUp() OVERRIDE {
- filter_ = new InputEventFilter(
- &message_recorder_,
- message_loop_.message_loop_proxy());
+ filter_ = new InputEventFilter(&message_recorder_,
+ base::MessageLoopProxy::current(),
+ message_loop_.message_loop_proxy());
filter_->SetBoundHandler(
base::Bind(&InputEventRecorder::HandleInputEvent,
base::Unretained(&event_recorder_)));
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698