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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 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/shell/renderer/DEPS ('k') | content/shell/renderer/shell_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index ecc2f4697eb43553be5d4e26697c798a47e06fae..00f8cc8fe2ed9e743a7036dbcde5654175f8e30a 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -38,7 +38,6 @@
#include "components/test_runner/web_test_proxy.h"
#include "components/test_runner/web_test_runner.h"
#include "content/public/common/content_switches.h"
-#include "content/public/common/service_registry.h"
#include "content/public/common/url_constants.h"
#include "content/public/common/web_preferences.h"
#include "content/public/renderer/media_stream_utils.h"
@@ -58,6 +57,7 @@
#include "media/base/video_capturer_source.h"
#include "net/base/filename_util.h"
#include "net/base/net_errors.h"
+#include "services/shell/public/cpp/interface_provider.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/WebKit/public/platform/FilePathConversion.h"
#include "third_party/WebKit/public/platform/Platform.h"
@@ -929,7 +929,7 @@ void BlinkTestRunner::CaptureDumpComplete() {
mojom::LayoutTestBluetoothFakeAdapterSetter&
BlinkTestRunner::GetBluetoothFakeAdapterSetter() {
if (!bluetooth_fake_adapter_setter_) {
- RenderThread::Get()->GetServiceRegistry()->ConnectToRemoteService(
+ RenderThread::Get()->GetRemoteInterfaces()->GetInterface(
mojo::GetProxy(&bluetooth_fake_adapter_setter_));
}
return *bluetooth_fake_adapter_setter_;
« no previous file with comments | « content/shell/renderer/DEPS ('k') | content/shell/renderer/shell_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698