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

Unified Diff: content/common/associated_interface_provider_impl.cc

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: MakeShared goodness Created 3 years, 8 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: content/common/associated_interface_provider_impl.cc
diff --git a/content/common/associated_interface_provider_impl.cc b/content/common/associated_interface_provider_impl.cc
index 647ba6a161407b5e698863420df35cb043c4d096..54472e4894e110ab288e2455e30bf1e686bee2df 100644
--- a/content/common/associated_interface_provider_impl.cc
+++ b/content/common/associated_interface_provider_impl.cc
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "content/common/associated_interface_provider_impl.h"
+#include "base/callback.h"
+#include "base/run_loop.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
namespace content {
@@ -59,7 +61,7 @@ void AssociatedInterfaceProviderImpl::GetInterface(
mojo::ScopedInterfaceEndpointHandle handle) {
mojom::AssociatedInterfaceAssociatedRequest request;
request.Bind(std::move(handle));
- return proxy_->GetAssociatedInterface(name, std::move(request));
+ proxy_->GetAssociatedInterface(name, std::move(request));
}
void AssociatedInterfaceProviderImpl::OverrideBinderForTesting(

Powered by Google App Engine
This is Rietveld 408576698