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

Unified Diff: content/child/child_thread_impl.cc

Issue 2433203003: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: code rebase Created 4 years, 2 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
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index e166b19fa9c482f7dcd271540b6e71976f831819..eca60a9bf10ca1b14c769ba347a63c28ac13a237 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -517,8 +517,6 @@ void ChildThreadImpl::Init(const Options& options) {
if (!base::PowerMonitor::Get()) {
std::unique_ptr<PowerMonitorBroadcastSource> power_monitor_source(
new PowerMonitorBroadcastSource());
- channel_->AddFilter(power_monitor_source->GetMessageFilter());
-
power_monitor_.reset(
new base::PowerMonitor(std::move(power_monitor_source)));
}

Powered by Google App Engine
This is Rietveld 408576698