Index: chrome/browser/extensions/api/preferences_private/preferences_private_api.cc |
diff --git a/chrome/browser/extensions/api/preferences_private/preferences_private_api.cc b/chrome/browser/extensions/api/preferences_private/preferences_private_api.cc |
index c85fc04c223284218244a2f37fb34c8461cf8aa4..98a89f02b2e2a23c5d6299116dabba761c3e7c26 100644 |
--- a/chrome/browser/extensions/api/preferences_private/preferences_private_api.cc |
+++ b/chrome/browser/extensions/api/preferences_private/preferences_private_api.cc |
@@ -27,12 +27,12 @@ PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction::OnStateChanged() { |
ProfileSyncServiceFactory::GetForProfile(GetProfile()); |
if (sync_service->sync_initialized()) { |
sync_service->RemoveObserver(this); |
- RunImpl(); |
- Release(); // Balanced in RunImpl(). |
+ RunAsync(); |
+ Release(); // Balanced in RunAsync(). |
} |
} |
-bool PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction::RunImpl() { |
+bool PreferencesPrivateGetSyncCategoriesWithoutPassphraseFunction::RunAsync() { |
ProfileSyncService* sync_service = |
ProfileSyncServiceFactory::GetForProfile(GetProfile()); |
if (!sync_service) |