Index: content/renderer/renderer_blink_platform_impl.cc |
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc |
index 856241b8d4aa735cf4ff6c147acc0c11ce913c3a..4f722a4a35a3d3dc35d7374f30364f8eb1aecf4f 100644 |
--- a/content/renderer/renderer_blink_platform_impl.cc |
+++ b/content/renderer/renderer_blink_platform_impl.cc |
@@ -1168,14 +1168,6 @@ void RendererBlinkPlatformImpl::SetPlatformEventObserverForTesting( |
void RendererBlinkPlatformImpl::connectToRemoteService( |
const char* name, |
mojo::ScopedMessagePipeHandle handle) { |
- // In the layout test mode, mock services should be used instead. |
- // TODO(yukishiino): We'd like to inject mock services implemented in |
- // JavaScript. Remove the following hack once we support JS-bindings |
- // of Mojo and service mocking in JS. |
- if (RenderThreadImpl::current() && |
- RenderThreadImpl::current()->layout_test_mode()) |
- return; |
- |
RenderThread::Get()->GetServiceRegistry()->ConnectToRemoteService( |
name, std::move(handle)); |
} |