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

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp

Issue 2775483003: Use public Service Manager Connector API in Blink (Closed)
Patch Set: . Created 3 years, 9 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: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
index 6e9e62c1c63249408912446811293c804380e54a..1bdd82698cdf93c18cefa65ac27e34b5540f8d24 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
@@ -4,9 +4,9 @@
#include "modules/screen_orientation/ScreenOrientationDispatcher.h"
-#include "public/platform/Connector.h"
#include "public/platform/Platform.h"
#include "services/device/public/interfaces/constants.mojom-blink.h"
+#include "services/service_manager/public/cpp/connector.h"
namespace blink {
@@ -29,7 +29,7 @@ DEFINE_TRACE(ScreenOrientationDispatcher) {
void ScreenOrientationDispatcher::startListening() {
DCHECK(!m_listener);
- Platform::current()->connector()->bindInterface(
+ Platform::current()->connector()->BindInterface(
device::mojom::blink::kServiceName, mojo::MakeRequest(&m_listener));
m_listener->Start();
}

Powered by Google App Engine
This is Rietveld 408576698