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

Unified Diff: components/html_viewer/blink_platform_impl.cc

Issue 1115363002: mojo: Use ContentHandlers to bundle multiple Applications into a module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: 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 57e5f8dcd10b7ba29595aeccb691ab3d984c4151..d7f5bb8fab5ca3a74fff3850ae40c9c6c06a9b88 100644
--- a/components/html_viewer/blink_platform_impl.cc
+++ b/components/html_viewer/blink_platform_impl.cc
@@ -78,10 +78,8 @@ BlinkPlatformImpl::BlinkPlatformImpl(
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;
- mojo::ConnectToService(service_provider.get(), &clipboard);
+ app->ConnectToService("mojo:clipboard", &clipboard);
clipboard_.reset(new WebClipboardImpl(clipboard.Pass()));
}
shared_timer_.SetTaskRunner(main_thread_task_runner_);

Powered by Google App Engine
This is Rietveld 408576698