Chromium Code Reviews| Index: chrome/browser/component_updater/subresource_filter_component_installer.cc |
| diff --git a/chrome/browser/component_updater/subresource_filter_component_installer.cc b/chrome/browser/component_updater/subresource_filter_component_installer.cc |
| index 0b3ff980342599cf8443e9dad8e4bc111f3b04a5..a7635db1478e7bb44b010e4b0c83730a1b640e77 100644 |
| --- a/chrome/browser/component_updater/subresource_filter_component_installer.cc |
| +++ b/chrome/browser/component_updater/subresource_filter_component_installer.cc |
| @@ -112,8 +112,9 @@ std::string SubresourceFilterComponentInstallerTraits::GetName() const { |
| // static |
| std::string SubresourceFilterComponentInstallerTraits::GetInstallerTag() { |
| - std::string ruleset_flavor = |
| - subresource_filter::GetActiveConfiguration().ruleset_flavor; |
| + std::string ruleset_flavor = subresource_filter::GetActiveConfigurations() |
|
Sorin Jianu
2017/04/24 21:58:59
can this be declared const?
engedy
2017/04/25 08:34:23
Yep, done.
|
| + ->the_one_and_only() |
| + .ruleset_flavor; |
| if (ruleset_flavor.empty()) |
| return ruleset_flavor; |