• François Degros's avatar
    Simple code cleanup. · 0aa36d96
    François Degros authored
    Passed PrefRegistry and PrefRegistrySyncable by raw pointer instead of reference
    to scoped_ptr. PrefRegistry and PrefRegistrySyncable have an internal reference
    count. There is no need to use a double indirection when passing them around.
    
    Used base::MakeRefCounted instead of naked 'new' operator.
    
    Change-Id: I53a0fdfc99b7ef3dd32b191664520659c2585fa5
    Reviewed-on: https://chromium-review.googlesource.com/892582Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: François Degros <fdegros@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#533087}
    0aa36d96
profile_impl.h 10.6 KB