[Extensions Cleanup] Use members in ExtensionPrefs init code
Instead of passing an ExtensionPrefValueMap to ExtensionPrefs::InitExtensionControlledPrefs(), just use the member variable directly. Similarly, instead of passing `this` and the value map to the anonymous free function LoadExtensionControlledPrefs(), just make LoadExtensionControlledPrefs() a member function and use the ExtensionPrefs members directly. Bug: None Change-Id: Ifd036983e83a4ecc9b95144cb87c986b68c2fa12 Reviewed-on: https://chromium-review.googlesource.com/996499 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#548317}
Showing
Please register or sign in to comment