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

Unified Diff: mojo/application/public/cpp/lazy_interface_ptr.h

Issue 1166123005: Removes ServiceProviders from ViewManager::Embed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use is_headless rather than check for browser. Created 5 years, 6 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 | « mandoline/ui/omnibox/omnibox_impl.cc ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application/public/cpp/lazy_interface_ptr.h
diff --git a/mojo/application/public/cpp/lazy_interface_ptr.h b/mojo/application/public/cpp/lazy_interface_ptr.h
index 090beb294c9d4c46d18a49c7793c936ea5ea2183..30f406e2346f32aa7126a947de94b896a49e82b3 100644
--- a/mojo/application/public/cpp/lazy_interface_ptr.h
+++ b/mojo/application/public/cpp/lazy_interface_ptr.h
@@ -17,7 +17,7 @@ class LazyInterfacePtr : public InterfacePtr<Interface> {
public:
LazyInterfacePtr() : service_provider_(nullptr) {}
- LazyInterfacePtr(ServiceProvider* service_provider)
+ explicit LazyInterfacePtr(ServiceProvider* service_provider)
: service_provider_(service_provider) {}
void set_service_provider(ServiceProvider* service_provider) {
« no previous file with comments | « mandoline/ui/omnibox/omnibox_impl.cc ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698