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

Unified Diff: sky/viewer/content_handler_impl.cc

Issue 934403002: Remove last uses of InterfaceImpl<> in Sky C++ code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/viewer/content_handler_impl.h ('k') | sky/viewer/viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/content_handler_impl.cc
diff --git a/sky/viewer/content_handler_impl.cc b/sky/viewer/content_handler_impl.cc
index 80fe9b3943261e34a18310e2d34bd0491ca92b3b..0e5070bdbafcace7bcf600a3e66f268b936d695b 100644
--- a/sky/viewer/content_handler_impl.cc
+++ b/sky/viewer/content_handler_impl.cc
@@ -77,7 +77,9 @@ class SkyApplication : public mojo::Application {
mojo::URLResponsePtr initial_response_;
};
-ContentHandlerImpl::ContentHandlerImpl() {
+ContentHandlerImpl::ContentHandlerImpl(
+ mojo::InterfaceRequest<mojo::ContentHandler> request)
+ : binding_(this, request.Pass()) {
}
ContentHandlerImpl::~ContentHandlerImpl() {
« no previous file with comments | « sky/viewer/content_handler_impl.h ('k') | sky/viewer/viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698