| Index: chrome/browser/ui/window_snapshot/window_snapshot.cc
|
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.cc b/chrome/browser/ui/window_snapshot/window_snapshot.cc
|
| index 9d440ba7a4792b80c4987f9b9ea0ae706e94ee08..b7206de49c719a3344a9c514cd6a0a4ce255ba6f 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot.cc
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/window_snapshot/window_snapshot.h"
|
|
|
| #include "chrome/browser/browser_process.h"
|
| +#include "chrome/browser/prefs/pref_registry_simple.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "ui/snapshot/snapshot.h"
|
| @@ -21,8 +22,8 @@ bool GrabWindowSnapshotForUser(
|
| snapshot_bounds);
|
| }
|
|
|
| -void RegisterScreenshotPrefs(PrefServiceSimple* service) {
|
| - service->RegisterBooleanPref(prefs::kDisableScreenshots, false);
|
| +void RegisterScreenshotPrefs(PrefRegistrySimple* registry) {
|
| + registry->RegisterBooleanPref(prefs::kDisableScreenshots, false);
|
| }
|
|
|
| } // namespace chrome
|
|
|