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

Unified Diff: content/public/test/nested_message_pump_android.cc

Issue 733533002: Do not start RunLoop of MessagePumpForUI in NestedMessagePumpAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use anonymous namespace for CallbackChecker Created 6 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
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/test/content_browser_test_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/nested_message_pump_android.cc
diff --git a/content/public/test/nested_message_pump_android.cc b/content/public/test/nested_message_pump_android.cc
index c3adb2cda694f4044e11938bb36dc0e545d2dcd7..4745c5384cf8d3f387620c844b6b6a57593fa0cf 100644
--- a/content/public/test/nested_message_pump_android.cc
+++ b/content/public/test/nested_message_pump_android.cc
@@ -123,8 +123,6 @@ void NestedMessagePumpAndroid::Start(
DCHECK(env);
g_message_handler_obj.Get().Reset(
Java_NestedSystemMessageHandler_create(env));
-
- base::MessagePumpForUI::Start(delegate);
}
void NestedMessagePumpAndroid::Quit() {
@@ -133,7 +131,6 @@ void NestedMessagePumpAndroid::Quit() {
state_->waitable_event.Signal();
return;
}
- base::MessagePumpForUI::Quit();
}
void NestedMessagePumpAndroid::ScheduleWork() {
@@ -141,8 +138,6 @@ void NestedMessagePumpAndroid::ScheduleWork() {
state_->waitable_event.Signal();
return;
}
-
- base::MessagePumpForUI::ScheduleWork();
}
void NestedMessagePumpAndroid::ScheduleDelayedWork(
@@ -154,8 +149,6 @@ void NestedMessagePumpAndroid::ScheduleDelayedWork(
state_->delayed_work_time = delayed_work_time;
return;
}
-
- base::MessagePumpForUI::ScheduleDelayedWork(delayed_work_time);
}
// static
« no previous file with comments | « content/browser/media/cdm/browser_cdm_manager.cc ('k') | content/test/content_browser_test_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698