Index: chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc |
diff --git a/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc b/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc |
index 3af31e0dc04f4f1d4712fc155ad2252867e89e91..357dc2561d3a1b7d8029d628cf2b62ba04f6f54f 100644 |
--- a/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc |
+++ b/chrome/browser/android/browsing_data/browsing_data_counter_bridge.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" |
#include "base/android/jni_string.h" |
+#include "chrome/browser/browsing_data/browsing_data_counter_factory.h" |
#include "chrome/browser/browsing_data/browsing_data_counter_utils.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
@@ -26,7 +27,7 @@ BrowsingDataCounterBridge::BrowsingDataCounterBridge( |
Profile* profile = |
ProfileManager::GetActiveUserProfile()->GetOriginalProfile(); |
- counter_.reset(CreateCounterForPreference(pref, profile)); |
msramek
2016/07/07 11:55:32
Why don't we remove this method?
ioanap
2016/07/07 16:30:48
Oups! Removed it now.
|
+ counter_.reset(BrowsingDataCounterFactory::GetForPreference(pref, profile)); |
if (!counter_) |
return; |