| Index: chrome/installer/util/google_chrome_distribution_unittest.cc
|
| diff --git a/chrome/installer/util/google_chrome_distribution_unittest.cc b/chrome/installer/util/google_chrome_distribution_unittest.cc
|
| index e4bad05238ef588d603ef74b2965f9945dfc7028..c40406126a70277284cd48caadb79ae32bb08603 100644
|
| --- a/chrome/installer/util/google_chrome_distribution_unittest.cc
|
| +++ b/chrome/installer/util/google_chrome_distribution_unittest.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| //
|
| @@ -31,7 +31,7 @@ class GoogleChromeDistributionTest : public testing::Test {
|
|
|
| // Creates "ap" key with the value given as parameter. Also adds work
|
| // items to work_item_list given so that they can be rolled back later.
|
| - bool CreateApKey(WorkItemList* work_item_list, std::wstring value) {
|
| + bool CreateApKey(WorkItemList* work_item_list, const std::wstring& value) {
|
| HKEY reg_root = HKEY_CURRENT_USER;
|
| std::wstring reg_key = GetApKeyPath();
|
| work_item_list->AddCreateRegKeyWorkItem(reg_root, reg_key);
|
|
|