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

Unified Diff: services/util/cpp/factory_service_base.h

Issue 2024953003: Motown: Move framework/util/incident* so other services can use it (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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: services/util/cpp/factory_service_base.h
diff --git a/services/util/cpp/factory_service_base.h b/services/util/cpp/factory_service_base.h
index 9a5ec4a1e3ac02d450e0a96bb106ebabc387fba2..33b46e783cdf91d30d6e27bed6c1a8c216cbcadb 100644
--- a/services/util/cpp/factory_service_base.h
+++ b/services/util/cpp/factory_service_base.h
@@ -27,8 +27,8 @@ class FactoryServiceBase : public ApplicationDelegate {
// Returns the ApplicationImpl.
ApplicationImpl* app() {
- DCHECK(owner_->app_);
- return owner_->app_;
+ DCHECK(owner_->app());
+ return owner_->app();
}
// Tells the factory service to release this product.
@@ -72,6 +72,8 @@ class FactoryServiceBase : public ApplicationDelegate {
~FactoryServiceBase() override;
+ ApplicationImpl* app() { return app_; }
+
// ApplicationDelegate implementation.
void Initialize(ApplicationImpl* app) override;

Powered by Google App Engine
This is Rietveld 408576698