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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Rebase Created 4 years 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/browser_main_loop.cc ('k') | content/child/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 415e9dfc63c26380331db5ef06b5bf55cc4def56..3ac8a1a778bac2fd8b3475bea7ef0a64db03af28 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -166,7 +166,6 @@
#include "device/battery/battery_monitor_impl.h"
#include "device/gamepad/gamepad_monitor.h"
#include "device/power_monitor/power_monitor_message_broadcaster.h"
-#include "device/time_zone_monitor/time_zone_monitor.h"
#include "gpu/GLES2/gl2extchromium.h"
#include "gpu/command_buffer/client/gpu_switches.h"
#include "gpu/command_buffer/common/gles2_cmd_utils.h"
@@ -1247,16 +1246,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
registry.get(), base::Bind(&CreateMemoryCoordinatorHandle, GetID()));
}
- // BrowserMainLoop, which owns TimeZoneMonitor, is alive for the lifetime of
- // Mojo communication (see BrowserMainLoop::ShutdownThreadsAndCleanUp(),
- // which shuts down Mojo). Hence, passing that TimeZoneMonitor instance as
- // a raw pointer here is safe.
- AddUIThreadInterface(
- registry.get(),
- base::Bind(&device::TimeZoneMonitor::Bind,
- base::Unretained(
- BrowserMainLoop::GetInstance()->time_zone_monitor())));
-
AddUIThreadInterface(
registry.get(),
base::Bind(&device::PowerMonitorMessageBroadcaster::Create));
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698