| Index: components/html_viewer/blink_platform_impl.cc
|
| diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
|
| index 4c4ff859982e246e8d9deb14ff9c972b5f574cd0..4f71823663be9dcc6185f4a785c38b9442af4c2a 100644
|
| --- a/components/html_viewer/blink_platform_impl.cc
|
| +++ b/components/html_viewer/blink_platform_impl.cc
|
| @@ -25,6 +25,7 @@
|
| #include "net/base/net_util.h"
|
| #include "third_party/WebKit/public/platform/WebWaitableEvent.h"
|
| #include "third_party/mojo/src/mojo/public/cpp/application/application_impl.h"
|
| +#include "third_party/mojo/src/mojo/public/cpp/application/connect.h"
|
| #include "ui/events/gestures/blink/web_gesture_curve_impl.h"
|
|
|
| namespace html_viewer {
|
| @@ -72,8 +73,10 @@ BlinkPlatformImpl::BlinkPlatformImpl(mojo::ApplicationImpl* app)
|
| network_service_->GetCookieStore(GetProxy(&cookie_store));
|
| cookie_jar_.reset(new WebCookieJarImpl(cookie_store.Pass()));
|
|
|
| + mojo::ServiceProviderPtr service_provider;
|
| + app->ConnectToService("mojo:core_services", &service_provider);
|
| mojo::ClipboardPtr clipboard;
|
| - app->ConnectToService("mojo:clipboard", &clipboard);
|
| + mojo::ConnectToService(service_provider.get(), &clipboard);
|
| clipboard_.reset(new WebClipboardImpl(clipboard.Pass()));
|
| }
|
| }
|
|
|