Chromium Code Reviews
Description[Offline Pages] Fix crash in chrome://offline-internals
The base::Value API changed semantics and internally started using
std::move on the Value passed into it. We assumed that the pointer
would remain valid even after being passed to the base::Value that
would own it.
This patch uses the new std::unique_ptr API and reorders the code so
we don't fall victim to this bug.
BUG=711472
Patch Set 1 #
Messages
Total messages: 17 (10 generated)
|
|||||||||||||||||||