DescriptionNobody uses base::JsonPrefStore::ReadResult without a path
and if they had tried it, it would have crashed.
This removes the code that tried to support non-path
JsonPrefStore and adds a DCHECK in the constructor in case
it happens in the future.
If the code is ever needed in the future, the
scoped_ptr<ReadResult> need to be initialized
with new ReadResult.
BUG=
R=bauerb@chromium.org
Committed: https://crrev.com/970f39d3eeac9baa033a48dfe3310df8e388c68f
Cr-Commit-Position: refs/heads/master@{#310300}
Patch Set 1 #Patch Set 2 : Less code is better (removed instead of fixed). #
Total comments: 2
Patch Set 3 : Moved DCHECK to constructors. #Messages
Total messages: 13 (2 generated)
|