| Index: chrome/installer/util/google_update_settings.cc
|
| diff --git a/chrome/installer/util/google_update_settings.cc b/chrome/installer/util/google_update_settings.cc
|
| index 45234c274b044b55d0172dc4309429232206c152..5a6f4a201962c003fe368c30c8e30ea9c17e31ea 100644
|
| --- a/chrome/installer/util/google_update_settings.cc
|
| +++ b/chrome/installer/util/google_update_settings.cc
|
| @@ -271,11 +271,10 @@ bool GoogleUpdateSettings::SetMetricsId(const std::wstring& metrics_id) {
|
| // EULA consent is only relevant for system-level installs.
|
| bool GoogleUpdateSettings::SetEULAConsent(
|
| const InstallationState& machine_state,
|
| + BrowserDistribution* dist,
|
| bool consented) {
|
| + DCHECK(dist);
|
| const DWORD eula_accepted = consented ? 1 : 0;
|
| - // This magical method will return the right instance based on such details as
|
| - // whether or not --chrome-frame is present on the command-line.
|
| - BrowserDistribution* dist = BrowserDistribution::GetDistribution();
|
| std::wstring reg_path = dist->GetStateMediumKey();
|
| bool succeeded = true;
|
| RegKey key;
|
|
|