| Index: extensions/browser/api/power/power_api.cc
|
| diff --git a/extensions/browser/api/power/power_api.cc b/extensions/browser/api/power/power_api.cc
|
| index 62cb73699a0634f45c3a837b16e95c584a61d024..0908a34e260d348c8320f309430c01c881d4cc3f 100644
|
| --- a/extensions/browser/api/power/power_api.cc
|
| +++ b/extensions/browser/api/power/power_api.cc
|
| @@ -82,7 +82,7 @@ void PowerAPI::RemoveRequest(const std::string& extension_id) {
|
| }
|
|
|
| void PowerAPI::SetCreateBlockerFunctionForTesting(
|
| - CreateBlockerFunction function) {
|
| + const CreateBlockerFunction& function) {
|
| create_blocker_function_ =
|
| !function.is_null() ? function : base::Bind(&CreatePowerSaveBlocker);
|
| }
|
|
|