提交 abd1afd5 编写于 作者: A Adam Barth

Fix iOS build

上级 578ede30
......@@ -24,7 +24,7 @@ class KeyboardImpl : public ::editing::Keyboard {
public:
explicit KeyboardImpl(mojo::InterfaceRequest<::editing::Keyboard> request);
~KeyboardImpl() override;
void SetClient(::editing::KeyboardClientPtr client,
void SetClient(mojo::InterfaceHandle<::editing::KeyboardClient> client,
::editing::KeyboardConfigurationPtr configuration) override;
void SetEditingState(::editing::EditingStatePtr state) override;
void Show() override;
......
......@@ -139,10 +139,10 @@ KeyboardImpl::~KeyboardImpl() {
[client_ release];
}
void KeyboardImpl::SetClient(::editing::KeyboardClientPtr client,
void KeyboardImpl::SetClient(mojo::InterfaceHandle<::editing::KeyboardClient> client,
::editing::KeyboardConfigurationPtr config) {
client_.keyboardType = ToUIKeyboardType(config->type);
[client_ setClient:client.Pass()];
[client_ setClient: ::editing::KeyboardClientPtr::Create(client.Pass())];
}
void KeyboardImpl::SetEditingState(::editing::EditingStatePtr state) {
......
......@@ -32,10 +32,10 @@ class NetworkServiceImpl : public NetworkService {
const CreateTCPConnectedSocketCallback& callback) override;
void CreateUDPSocket(InterfaceRequest<UDPSocket> socket) override;
void CreateHttpServer(NetAddressPtr local_address,
HttpServerDelegatePtr delegate,
InterfaceHandle<HttpServerDelegate> delegate,
const CreateHttpServerCallback& callback) override;
void RegisterURLLoaderInterceptor(
URLLoaderInterceptorFactoryPtr factory) override;
InterfaceHandle<URLLoaderInterceptorFactory> factory) override;
void CreateHostResolver(
InterfaceRequest<HostResolver> host_resolver) override;
......
......@@ -48,13 +48,13 @@ void NetworkServiceImpl::CreateUDPSocket(InterfaceRequest<UDPSocket> socket) {
void NetworkServiceImpl::CreateHttpServer(
NetAddressPtr local_address,
HttpServerDelegatePtr delegate,
InterfaceHandle<HttpServerDelegate> delegate,
const CreateHttpServerCallback& callback) {
DCHECK(false);
}
void NetworkServiceImpl::RegisterURLLoaderInterceptor(
URLLoaderInterceptorFactoryPtr factory) {
InterfaceHandle<URLLoaderInterceptorFactory> factory) {
DCHECK(false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册