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

Unified Diff: third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp

Issue 2624893002: M-56: Replace mojo::MakeRequest with mojo::GetProxy. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp
diff --git a/third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp b/third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp
index c5c41d8b8b21f278cf2cd414056cdb1629330ba4..afc8547b24fab2cb451a2755f84243630fcaec72 100644
--- a/third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp
+++ b/third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp
@@ -89,11 +89,10 @@ String PermissionStatus::state() const {
void PermissionStatus::startListening() {
DCHECK(!m_binding.is_bound());
mojom::blink::PermissionObserverPtr observer;
- m_binding.Bind(mojo::MakeRequest(&observer));
+ m_binding.Bind(mojo::GetProxy(&observer));
mojom::blink::PermissionServicePtr service;
- connectToPermissionService(getExecutionContext(),
- mojo::MakeRequest(&service));
+ connectToPermissionService(getExecutionContext(), mojo::GetProxy(&service));
service->AddPermissionObserver(m_descriptor->Clone(),
getExecutionContext()->getSecurityOrigin(),
m_status, std::move(observer));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698