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

Unified Diff: chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc

Issue 2369673004: Wire NQE Prefs to Profile (Closed)
Patch Set: ps Created 4 years, 2 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: chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
diff --git a/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc b/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
index d8b71e028eb7a9d586f752df20f35470d785486e..7f2cb3bdd77edddcfbec426d2b2721baf4fa3c98 100644
--- a/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
+++ b/chrome/browser/net/nqe/ui_network_quality_estimator_service_factory.cc
@@ -34,5 +34,5 @@ UINetworkQualityEstimatorServiceFactory::
KeyedService* UINetworkQualityEstimatorServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const {
- return new UINetworkQualityEstimatorService();
+ return new UINetworkQualityEstimatorService(static_cast<Profile*>(context));
RyanSturm 2016/10/04 22:08:00 Profile::FromBrowserContext instead of static_cast
tbansal1 2016/10/11 20:49:26 Done.
}

Powered by Google App Engine
This is Rietveld 408576698